http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773
--- Comment #90 from Marc Glisse <marc.glisse at normalesup dot org> 2011-07-30 20:19:42 UTC --- How does one go about reporting a bug in solaris? In Solaris 11, with -std=c++** (as opposed to gnu++**), __cplusplus=199711L and without -m64 or -pthreads, iso/stdio_iso.h doesn't declare getc but uses it in the definition of getchar.