aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-09-17 20:39:56 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2000-09-17 20:39:56 +0100
commit60e9d01cf742140d4d56eb8aaf7eced14a923141 (patch)
tree334934f9502cc4e6f33fbd5069958392abed651a /libobjc
parentbc5006c72549c530c630f8a749612ea5ec2bb9e7 (diff)
downloadgcc-60e9d01cf742140d4d56eb8aaf7eced14a923141.zip
gcc-60e9d01cf742140d4d56eb8aaf7eced14a923141.tar.gz
gcc-60e9d01cf742140d4d56eb8aaf7eced14a923141.tar.bz2
c-decl.c (grokdeclarator): Don't give a warning about defaulting to int for 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
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions