Replies: 1 comment
-
Same problem answer: #2012 (comment) Visual Studio determines the source code encoding from the OS language settings.
Set compiler option |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got below errors durning cmake build, when I look at the circular_q.h I don't see any special character in that. I got the source files stright from the git. Any guys have ideas about this problem?
C:\dev\ros2_foxy\build\spdlog_vendor\spdlog-1.5.0-prefix\src\spdlog-1.5.0\include\spdlog/details/circular_q.h(1,1): error C2220: the following warning is treated as an error (compiling source file C:\dev\ros2_foxy\build\spdlog_vendor\spdlog-1.5.0-prefix\src\spdlog-1.5.0\src\color_sinks.cpp) [C:\dev\ros2_foxy\build\spdlog_vendor\spdlog-1.5.0-prefix\src\spdlog-1.5.0-build\spdlog.vcxproj] [C:\dev\ros2_foxy\build\spdlog_vendor\spdlog-1.5.0.vcxproj]
C:\dev\ros2_foxy\build\spdlog_vendor\spdlog-1.5.0-prefix\src\spdlog-1.5.0\include\spdlog/details/circular_q.h(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss (compiling source file C:\dev\ros2_foxy\build\spdlog_vendor\spdlog-1.5.0-prefix\src\spdlog-1.5.0\src\async.cpp) [C:\dev\ros2_foxy\build\spdlog_vendor\spdlog-1.5.0-prefix\src\spdlog-1.5.0-build\spdlog.vcxproj] [C:\dev\ros2_foxy\build\spdlog_vendor\spdlog-1.5.0.vcxproj]
Beta Was this translation helpful? Give feedback.
All reactions