Squirrel warning - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: Squirrel warning (/thread-557.html) |
Squirrel warning - xoft - 09-07-2012 I'm somewhat puzzled by the warning produced upon building the Squirrel library: Code: squirrel_3_0_1_stable\squirrel\sqlexer.cpp(290) : warning C4748: /GS can not protect parameters and local variables from local buffer overrun because optimizations are disabled in function Can anyone shed some light onto this? The MS docs don't say much about the issue, other than "the optimization is turned off, or inline assembly jumps", neither of which is true for this file. And why would one function compile without optimizations, while all the others are optimized, because they don't emit that warning? RE: Squirrel warning - FakeTruth - 09-07-2012 I get the same warning for the leak detector I think |