MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011069 | CMake | CMake | public | 2010-07-29 22:56 | 2016-06-10 14:31 |
| Reporter | Guillaume Seguin | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0011069: Support for -D_REENTRANT (or fix problem in CHECK_FUNCTION_EXISTS) | ||||
| Description | -D_REENTRANT is a valid (to my knowledge) define arg for gcc (see http://stackoverflow.com/questions/2601753/reentrant-flag-in-pthreads [^]) and is pulled in by some pkgconfig packages (such as directfb.pc). When running check_function_exists (something) after adding the flags pulled by pkgconfig to CMAKE_REQUIRED_FLAGS, I get : -- Looking for wnck_window_has_name Parse error in command line argument: -D_REENTRANT Should be: VAR:type=value CMake Error: No cmake script provided. CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Looking for wnck_window_has_name - not found Manually replacing -D_REENTRANT by -D_REENTRANT=1 fixes the problem. I'm not sure whether the problem is in the arg parsing or in CHECK_FUNCTION_EXISTS itself, but shouldn't this work ? | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-07-29 22:56 | Guillaume Seguin | New Issue | |||
| 2010-12-02 17:17 | Daniel Richard G. | Note Added: 0023686 | |||
| 2012-08-11 11:09 | David Cole | Status | new => backlog | ||
| 2012-08-11 11:09 | David Cole | Note Added: 0030220 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041736 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||