This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiling app using libstdc++



> Using libstdc++ compiling LyX seems to go reasonbly well.

Thanks for the update.

> /local/H-libstdc++/include/g++-v3/bits/c++config.h:474: warning: `PACKAGE' redefined
> ../../src/config.h:277: warning: this is the location of the previous definition/local/H-libstdc++/include/g++-v3/bits/c++config.h:477: warning: `VERSION' redefined
> ../../src/config.h:280: warning: this is the location of the previous
> definitionecho timestamp > LSubstring.lo   

Known bug. See this commentary:

http://sourceware.cygnus.com/ml/libstdc++/1999-q4/msg00091.html

You might be able to get around it for the time being if you hand-edit
the build directory's bits/c++config.h file. What you'll probably need to 
do is put the contents of "config.h" from autoconf which have been 
appended to (src)/bits/c++config.h.in outside of the macro guard
_CPP_BIN_CPPCONFIG_.

Ie:

*** c++config.h	Wed Dec  1 13:33:55 1999
--- c++config.h.orig	Wed Dec  1 13:33:43 1999
***************
*** 65,70 ****
--- 65,71 ----
  // Use corrected code from the committee library group's issues list.
  # define _GLIBCPP_RESOLVE_LIB_DEFECTS 1
  
+ #endif // _CPP_BIN_CPPCONFIG_
  
  
  
***************
*** 1168,1171 ****
  # define qfpclass _qfpclass
  #endif
  
- #endif // _CPP_BIN_CPPCONFIG_
--- 1169,1171 ----



You could also get away with just removing the duplicate defines, as they 
are not needed in c++config.h.

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]