1、宏定义 加括号解决试试 2、输出精度,double float,可试试强制类型转换 3、还有可能就是真的是你的代码写错了。。。比如1.0.5(脑抽中。。。)
too many decimal points in number ../src/libsass/src/sass.cpp:38:12: note: in expansion of macro 'LIBSASS_VERSION' return LIBSASS_VERSION; ^ ../src/libsass/src/sass.cpp: In function 'const char* libsass_version()': ../src/libsass/src/sass.cpp:39:3: warning: control reaches end of...
[ 6%] Building CXX object CMakeFiles/_CuraEngine.dir/src/FffGcodeWriter.cpp.obj :0:9: error: too many decimal points in number G:/dev/cura-build/build/CuraEngine-prefix/src/CuraEngine/src/FffGcodeWriter.cpp:225:59: note: in expansion of macro 'VERSION' gcode.writeComment("Generated...
-Wduplicate-decl-specifier (C and Objective-C only) -Wenum-compare (in C/ObjC; this is on by default in C++) -Wformat -Wint-in-bool-context -Wimplicit (C and Objective-C only) -Wimplicit-int (C and Objective-C only) -Wimplicit-function-declaration (C and Objective-C only) -Winit...