Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2000-09-17 | c-decl.c (grokdeclarator): Don't give a warning about defaulting to int for ↵ | Joseph Myers | 1 | -0/+33 | |
plain complex which defaults... * c-decl.c (grokdeclarator): Don't give a warning about defaulting to int for plain complex which defaults to complex double. Do warn about defaulting to complex double if pedantic. Warn about complex integer types if pedantic. Warn about complex types if pedantic and not in C99 mode. * c-typeck.c (build_unary_op): If pedantic, warn about use of ~ for complex conjugation. testsuite: * gcc.dg/c90-complex-1.c, gcc.dg/c99-complex-1.c: New tests. From-SVN: r36478 |