[Bug c/42753] _Complex_I is reported as undeclared. Code builds with Sun compiler.

2010-01-15 Thread david dot kirkby at onetel dot net
--- Comment #7 from david dot kirkby at onetel dot net 2010-01-15 16:02 --- (In reply to comment #5) > *** Bug 42755 has been marked as a duplicate of this bug. *** > (In reply to comment #4) > This is a fixincludes bug; it needs to fix Sun's complex.h header to > work with GCC. > I

[Bug c/42753] _Complex_I is reported as undeclared. Code builds with Sun compiler.

2010-01-15 Thread david dot kirkby at onetel dot net
--- Comment #3 from david dot kirkby at onetel dot net 2010-01-15 09:27 --- I discovered the bug first on a Sun Blade 2000 running Solaris 10 while building the Sage maths software. http://www.sagemath.org/ A test case was created by Robert Bradshaw. The attached header file was gene

[Bug c/42753] _Complex_I is reported as undeclared. Code builds with Sun compiler.

2010-01-15 Thread david dot kirkby at onetel dot net
--- Comment #2 from david dot kirkby at onetel dot net 2010-01-15 09:19 --- Created an attachment (id=19605) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19605&action=view) Preprocessed header -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42753

[Bug c/42753] _Complex_I is reported as undeclared. Code builds with Sun compiler.

2010-01-15 Thread david dot kirkby at onetel dot net
--- Comment #1 from david dot kirkby at onetel dot net 2010-01-15 09:18 --- Created an attachment (id=19604) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19604&action=view) C source code that generates error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42753