Changeset 5673

Show
Ignore:
Timestamp:
11/03/09 11:10:48 (3 weeks ago)
Author:
buntinas
Message:

removed -Waggregate-return warning. Fixes #918.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/confdb/aclocal_cc.m4

    r5525 r5673  
    483483    #   -Wredundant-decls -- Having redundant declarations is benign and the  
    484484    #       code already has some. 
     485    #   -Waggregate-return -- This seems to be a performance-related warning 
     486    #       aggregate return values are legal in ANSI C, but they may be returned 
     487    #       in memory rather than through a register.  We do use aggregate return 
     488    #       values, but they are structs of a single basic type (used to enforce 
     489    #       type checking for relative vs. absolute ptrs), and with optimization 
     490    #       the aggregate value is converted to a scalar. 
    485491    # the embedded newlines in this string are safe because we evaluate each 
    486492    # argument in the for-loop below and append them to the CFLAGS with a space 
     
    507513        -Wwrite-strings 
    508514        -Wno-sign-compare 
    509         -Waggregate-return 
    510515        -Wold-style-definition 
    511516        -Wno-multichar