This is the mail archive of the gcc-help@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]

Re: Bug in cmath namespace


"Jens Vollinga" <vollinga@gmx.de> writes:

| Hi,
| 
| I want to define classes called sin,cos,etc. and include the cmath header at
| the same time.

Although GCC is wrong in the behaviour, it is one that is hard to fix
and probably won't be fixed.  
furthermore, I believe your program would have violated a C++ standard
rule 17.4.3.1 (entire sub-section).

-- Gaby



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