[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread gnu at bluedreamer dot com
--- Comment #13 from gnu at bluedreamer dot com 2010-06-21 16:31 --- (In reply to comment #12) > Is there a reason you changed the component back to c++? > This is not a problem in the C++ compiler front-end. > I didn't mean to change anything. All I did was reply (maybe browser cached

[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread redi at gcc dot gnu dot org
--- Comment #12 from redi at gcc dot gnu dot org 2010-06-21 16:28 --- Is there a reason you changed the component back to c++? This is not a problem in the C++ compiler front-end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44611

[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread gnu at bluedreamer dot com
--- Comment #11 from gnu at bluedreamer dot com 2010-06-21 16:20 --- (In reply to comment #10) > (In reply to comment #9) > > Are these still relevant for c++0x? More so section 5 which says if they are > > macros in C they must be macros in C++ > > see 26.8 [c.math] paragraph 11 Thank

[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread redi at gcc dot gnu dot org
--- Comment #10 from redi at gcc dot gnu dot org 2010-06-21 16:12 --- (In reply to comment #9) > Are these still relevant for c++0x? More so section 5 which says if they are > macros in C they must be macros in C++ see 26.8 [c.math] paragraph 11 -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread gnu at bluedreamer dot com
--- Comment #9 from gnu at bluedreamer dot com 2010-06-21 16:07 --- > I agree the macro and template can't co-exist, but the template could be > available as both std::signbit and ::signbit, and I think that's required by > appendix D. Are these still relevant for c++0x? More so section

[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-06-21 14:44 --- I don't think signbit is special: including *any* header first undefs the names, thus if they are defined as macros in C, you don't see them anymore in the global namespace, only in std::. If, on the other han

[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread gnu at bluedreamer dot com
--- Comment #3 from gnu at bluedreamer dot com 2010-06-21 14:32 --- Created an attachment (id=20965) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20965&action=view) --save-temps output .s file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44611

[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread gnu at bluedreamer dot com
--- Comment #2 from gnu at bluedreamer dot com 2010-06-21 14:31 --- Created an attachment (id=20964) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20964&action=view) --save-temps output .ii file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44611

[Bug c++/44611] Including and hides ::signbit function

2010-06-21 Thread gnu at bluedreamer dot com
--- Comment #1 from gnu at bluedreamer dot com 2010-06-21 14:31 --- Created an attachment (id=20963) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20963&action=view) Source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44611