This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More informative ODR warnings


----- Original Message -----
> /aux/hubicka/firefox/netwerk/sctp/datachannel/DataChannel.h:64:0: warning:
> field âmSpaâ (of type âstruct BufferedMsgâ) violates one definition rule
> [-Wodr]

Can we reword this warning?  The "of type 'struct BufferedMsg'" could be easily taken to mean that the type of the field is 'struct BufferedMsg', rather than the intended meaning.  Perhaps "within type 'struct BufferedMsg'"?

-Nathan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]