lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

There is one warning on Mac OS X (10.10) when compiling in Xcode 6.1.1 with default warnings enabled:

/Users/jean-luc/Developpement/lua-5.3.0 - xcode/src/liolib.c:480:16: warning: variable 'c' may be uninitialized when used here [-Wconditional-uninitialized]
  if (!chop && c == '\n')  /* want a newline and have one? */
/Users/jean-luc/Developpement/lua-5.3.0 - xcode/src/liolib.c:467:8: note: initialize the variable 'c' to silence this warning
  int c;
This is a false positive, but hard for the compiler to detect that c is always initialized… :-)


Le 27 déc. 2014 à 14:11, Thijs Schreijer <> a écrit :

-----Original Message-----
From: [] On
Behalf Of Ignacio Burgueño
Sent: maandag 22 december 2014 15:47
To: Lua mailing list
Subject: Re: [ANN] Lua 5.3.0 (rc2) now available

Using Thijs's build script (winmake), it compiles without warnings with VS
2008, VS 2010, VS 2012 and VS 2013 (all of them as 32 bits), with vanilla

Just tested building on Windows 7 with MinGW 32, TDM 32, TDM 64, Win7SDK 32, Win7SDK 64. All build without any warnings.