beuville / minesweepersolver

Automatically exported from code.google.com/p/minesweepersolver
0 stars 0 forks source link

Compiler Differences #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the virtual machine code will compile using visual studio 2005 
and 2008.

cygwin will not compile the program due to the use of the strtok_s function
in the load_cfg() funtion of the parser class.

cygwin will compile if the strtok_s calls are replaced with strtok 
the problem here is that strtok is deprecated and raises warnigs in vs2005

Original issue reported on code.google.com by mike.a.s...@gmail.com on 30 Oct 2008 at 6:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Since Microsoft created their own libraries, they made their own strtok function
called strtok_s, thereby deprecating the strtok version, which is still used in 
Unix
based systems, which is what the cygwin library emulates.

Original comment by Beau.Fur...@gmail.com on 13 Nov 2008 at 1:19