public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* c++ system header generats warnings.
@ 1999-07-02  1:07 Jan Reimers
  0 siblings, 0 replies; only message in thread
From: Jan Reimers @ 1999-07-02  1:07 UTC (permalink / raw)
  To: egcs-bugs

Here one for the back burner.

>cat test.cc
#include <iomanip.h>

template <class T> void foo(T a)
{
  cout << setw(1) << a;
}

template void foo(int);
// endof test.cc



~/devel/oml>g++ -v -c -O1 -Winline test.cc
Reading specs from
/usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.96/specs
gcc version gcc-2.96 19990630 (experimental)
 /usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.96/cpp -lang-c++ -v
-D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__cplusplus -D__ELF__
-Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__
-D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -D__OPTIMIZE__
-Winline -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686
-Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ test.cc
/tmp/ccVcldwh.ii
GNU CPP version gcc-2.96 19990630 (experimental) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.96/../../../../include/g++-2

 /usr/local/egcs/include
 /usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.96/../../../../i686-pc-linux-gnu/include

 /usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.96/include
 /usr/include
End of search list.
The following default directories have been omitted from the search
path:
End of omitted list.
 /usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.96/cc1plus
/tmp/ccVcldwh.ii -quiet -dumpbase test.cc -O1 -Winline -version -o
/tmp/ccnUZKaj.s
GNU C++ version gcc-2.96 19990630 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
test.cc: In function `void foo<int>(int)':
test.cc:8:   instantiated from here
/usr/local/egcs/lib/gcc-lib/i686-pc-linux-gnu/gcc-2.96/../../../../include/g++-2/iomanip.h:56:
warning: can't inline call to `class ostream & operator <<<int>(ostream
&, const smanip<int> &)'
test.cc:5: warning: called from here
 as -V -Qy -o test.o /tmp/ccnUZKaj.s
GNU assembler version 2.9.1 (i686-pc-linux-gnu), using BFD version
2.9.1.0.4




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-02  1:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-02  1:07 c++ system header generats warnings Jan Reimers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).