View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013718 | CMake | CMake | public | 2012-11-20 09:15 | 2016-06-10 14:31 | ||||
Reporter | Amit Kulkarni | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OpenBSD | OS | OpenBSD | OS Version | 5.2 (-current) | ||||
Product Version | CMake 2.8.10.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013718: CMake does not preprocess out conditional includes while scanning dependencies | ||||||||
Description | > Looks like opencv picks up ansidecl.h during configure and later > tries to use it. However, since there is no explicit dependency, > the file can go away anytime and if it does, the build fails. > > (ansidecl.h is around if devel/gdb happens to be installed.) Refer to http://marc.info/?l=openbsd-ports&m=135336077026128&w=2 [^] A casual google search turns up http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/libxml/libxml2/ansidecl.patch [^] http://www.paraview.org/pipermail/paraview/2008-March/007473.html [^] Can this issue be fixed please, instead of various patches to be made to remove ansidecl.h in many other projects? Thanks | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0031621) Brad King (manager) 2012-11-20 09:27 |
This is similar to issue 0011985. The Fortran dependency scanner: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmDependsFortran.cxx;hb=v2.8.10.1 [^] does some preprocessing to handle conditional blocks. This would need to be ported to cmDependsC to address this issue. Sending to backlog awaiting a volunteer. |
(0032600) Brad King (manager) 2013-03-13 10:17 |
As pointed out in this discussion: http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/45828/focus=45865 [^] a related problem is that cmDependsFortran does not account for per-source definitions. |
(0042154) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-11-20 09:15 | Amit Kulkarni | New Issue | |
2012-11-20 09:27 | Brad King | Note Added: 0031621 | |
2012-11-20 09:27 | Brad King | Status | new => backlog |
2012-11-20 09:27 | Brad King | Summary | CMake picks up ansidecl.h during configure => CMake does not preprocess out conditional includes while scanning dependencies |
2012-11-20 09:27 | Brad King | Relationship added | related to 0011985 |
2013-03-13 10:17 | Brad King | Note Added: 0032600 | |
2016-06-10 14:28 | Kitware Robot | Note Added: 0042154 | |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |