supporting C++11 rules issue
lion117 opened this issue · 1 comments
lion117 commented
hi , when i try to run the example in junction ,
IDE throw error which in the junction libs
system: win7 64bit
IDE: VS 2013
i did some digs , noted that the reason cause error is the IDE is not completely compatibility with C++ 11.
VS2013 IDE doesn't support the following usage
class UnitTest // in VS2013
{
const static int a = 10; // VALID
const static string c = "good moringint"; // invalid
const static float d = 1.254; // invalid
const static char e = '4'; // invalid
};
Upgrading IDE VS2013 to VS2015 is not my option which is not free.
Modifying source code to fix the issue in VS2013 is my only way to apply junction .
preshing commented
OK, I didn't realize that was a C++11-specific usage. Pull requests are welcome.
By the way, VS2015 Community Edition is free.