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]
Other format: [Raw text]

[Bug c++/11285] GCC 3.3 C++ for Sparc Solaris assumes system header files are C.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11285



------- Additional Comments From numien at deathwyrm dot net  2003-06-22 23:33 -------
Perhaps I am misunderstanding what you said, but they look fairly C++ aware to
me...here's a clip from the top of stdio.h...

I'm using Solaris 9, perhaps they implemented that with this version?
In which file could I find that value to change? I can test it here.

---------------------------------------------------------------------
<snip>
/*
 * Copyright (c) 1993-2001, by Sun Microsystems, Inc.
 * All rights reserved.
 */
<snip>
/*
 * Allow global visibility for symbols defined in
 * C++ "std" namespace in <iso/stdio_iso.h>.
 */
#if __cplusplus >= 199711L
using std::FILE;
using std::size_t;
using std::fpos_t;
<snip>
using std::perror;
#endif
                                                                                
#ifdef  __cplusplus
extern "C" {
#endif
<etc, etc...>


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