This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs -c > -I. -I. -I./.. -isystem /usr/X11R6/include -o show.o show.C > In file included from show.C:51: > status.h: In method `_StatusMsg::_StatusMsg(const string > &)': > Thanks very much & take care, Vikki. > P.S. To the gcc folks: Just what should I look for to fill > this requirement: > Preprocessed output of the source file that caused the > compiler error, even if the source code can be downloaded > from elsewhere > Since you asked: This means the preprocessed .i (or .ii for c++) file that exists after cpp runs on the file. There are a couple of ways of getting this file: 1) use -E in the compile line above and redirect the output to a file 2) use -save-temps in the compile line above, the .i/.ii files will be part of the files left. The easiest is perhaps -save-temps. You can also add it to a make command line like this: make CFLAGS="-save-temps" <target> where <target> is the original target of the makefile, e.g. "all" -eric
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |