Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » lots of compile warnings in 7063
lots of compile warnings in 7063[message #251106] Fri, 07 May 2010 21:15 Go to next message
Ddass is currently offline Ddass

 
Messages:26
Registered:April 2010
Which werent there in 7059. Did anyone compile it?

Report message to a moderator

Private 1st Class
Re: lots of compile warnings in 7063[message #251117] Fri, 07 May 2010 23:36 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
I'm unable to tell if there are more warnings in 7063 than in 7059. 7063 is only slightly different from 7059. It shouldn't add tons of them.

I usually disable warnings if I build the whole stracciatella project and enable them if I build only a few objects files, for my patches for example.

I built two objects files today and had two warnings.

Report message to a moderator

Master Sergeant
Re: lots of compile warnings in 7063[message #251132] Sat, 08 May 2010 08:43 Go to previous messageGo to next message
Ddass is currently offline Ddass

 
Messages:26
Registered:April 2010
hmm, thanks. Yep most of them are warning about incorrect variable transformations.

Report message to a moderator

Private 1st Class
Re: lots of compile warnings in 7063[message #251136] Sat, 08 May 2010 13:27 Go to previous message
Ddass is currently offline Ddass

 
Messages:26
Registered:April 2010
This is what i get

Build/Laptop/Laptop.cc: In function "ScreenID LaptopScreenHandle<>":
lines 1047,1051,1446,1460:
warning: converting to "INT32" from "double"


Build/Laptop/Laptop.cc: In function "Boolean DisplayTitleBarMaximizeGraphic...":
lines 2291,2294,2297:
warning: converting to "Int16" from "Float"

Build/Laptop/Laptop.cc: In function "WWaitDelayIncreasedIfRainin":
lines 3634,3638:
warning: converting to "Int32" from "Float"


Build/Strategic/Strategic_Movement.cc: In function "Boolean PlayersBetweenTheseSectors...":
lines 2406:
warning: converting of negative value"-0x0000000001" to "unsighned int"


Build/Tactical/Los.cc: In function "Boolean BulletHitMerc...":
lines 2190:
warning: passing "Float" for converting 6 of "void WeaponsHit..."
warning: passing "Float" for converting 7 of "void WeaponsHit..."



Build/TileEngine/Physics.cc: In function "void HandleArmedObjectImpact...":
lines 2239,2245:
warning: passing "real" for converting 2 of "void IgniteExplosionXY..."
warning: passing "real" for converting 3 of "void IgniteExplosionXY..."


Build/TileEngine/Radar_Screen.cc: In function "void RenderRadarScreen<>":
lines 277,278,284-287,315,316,345,346
warning: converting to "Int16" from "double"




Report message to a moderator

Private 1st Class
Previous Topic: Bug: looking for enemies in adjacent sectors
Next Topic: [Patch] Miguel and Carlos
Goto Forum:
  


Current Time: Wed Jan 22 14:56:11 GMT+2 2025

Total time taken to generate the page: 0.00780 seconds