[Info-vax] c 7.3 - Why MAYLOSEDATA3 for long pointer math?

John Reagan xyzzy1959 at gmail.com
Fri Mar 13 12:14:21 EDT 2015


On Friday, March 13, 2015 at 11:35:34 AM UTC-4, John Reagan wrote:
> On Friday, March 13, 2015 at 11:19:43 AM UTC-4, Steven Schweda wrote:
> > > You may [disable] this warning by adding following line while compiling:
> > > 
> > > /WARNINGS = DISABLE = ("MAYLOSEDATA3") NL:
> > 
> >    Please review this thread, paying special attention to:
> > %CC-W-UNKMSGID
> 
> Yeah, that is one thing that we could change easily enough.  Adding UNKMSGID to the disable list should disable it, but it doesn't.
> 
> $ cc /warn=disable=("unkmsgid","maylosedata3") foo.c
> 
> %CC-W-UNKMSGID, Unknown message id or group "maylosedata3" is ignored.

BTW, you should be able to disable this inside the source file by first checking the compiler version using __DECC_VER then disabling the message.



More information about the Info-vax mailing list