This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: PATCH: Install two PCH files instead of one


>I noticed you weren't using -include $(path)/stdc++.h. I didn't think
>this worked (although I would certainly prefer it if it did): I thought
>absolute paths only were allowed. Am I confused or doing something wrong?

Yes. I've got it now. 

%g++ -Winvalid-pch -g -O2 -include stdc++.h 1.cc
cc1plus: warning: /mnt/hd/bld/H-x86-gcc/include/c++/3.4/stdc++.h.gch/O0g: not used because `__NO_INLINE__' not defined

%g++ -Winvalid-pch -g -O0 -include stdc++.h 1.cc

-benjamin


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