[Opensim-dev] warnings safari...

Frisby, Adam adam at deepthink.com.au
Fri Jun 27 23:58:10 UTC 2008


Major thanks.

 

If we can get it down to zero warnings, I'd like to flip
warnings-as-errors in our prebuild.xml file, generally speaking I'm yet
to find a warning come from the compiler that wasn't legitimate in some
fashion.

 

Regards,

 

Adam

 

From: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Dr Scofield
Sent: Friday, 27 June 2008 4:22 PM
To: opensim-dev at lists.berlios.de
Subject: [Opensim-dev] warnings safari...

 

dear all,

as you may have noticed i've been trying to reduce the compile time
warnings. i've tried to be very careful with commenting out variables
and tried to avoid loosing right hand sides that have an effect. 

the prolog code really was the worst: it must have been machine
generated and is full of weird artifacts ---

foreach (bool l2 in ...)
{
    return;
}

or 

return;
goto c11;

are among my favourites. i threw the towel there and resorted to
bracketing most of the prolog code with

#pragma warning disable 0168, 0219
...
#pragma warning restore 0168, 0219

there are very few warnings left now (most notable in LSL_Types). 

everything seems to be still running --- but, of course, it would be
good to give it the once (or twice) over to make sure i didn't
accidentally kill something. if i did, i do apologize.

    cheers,
    dr scofield/dirk



-- 
dr dirk husemann ---- virtual worlds research ---- ibm zurich research
lab
SL: dr scofield ---- drscofield at xyzzyxyzzy.net ----
http://xyzzyxyzzy.net/
RL: hud at zurich.ibm.com - +41 44 724 8573 -
http://www.zurich.ibm.com/~hud/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080627/9e00aaf8/attachment-0001.html>


More information about the Opensim-dev mailing list