[BuildTools-tickets] [BuildTools] #76: several public headers mess with user's projects

BuildTools coin-trac at coin-or.org
Fri Apr 30 19:14:25 EDT 2010


#76: several public headers mess with user's projects
-------------------+--------------------------------------------------------
Reporter:  bubla   |       Owner:  andreasw           
    Type:  defect  |      Status:  new                
Priority:  major   |   Component:  configuration tests
 Version:  0.5     |    Keywords:                     
-------------------+--------------------------------------------------------
 Hello,
 I have discovered that your public headers contain stuff that should be
 internal.
 For example OsiConfig.h #undefs PACKAGE_NAME
 I think that this issue is closely related to the build system, so I post
 it here.
 It took me half an hour to figure out why I can't use PACKAGE_NAME in my
 program because of this :-)

 I wonder what's the reason for it anyway.
 For instance if this is needed during build time, it should be placed into
 a protective #ifdef section that is accessible only during build...
 An article that says something about this can be found here:
 http://www.linux.com/archive/feature/114061

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/76>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list