Skip to content

Commit

Permalink
Ignore MSVC warning C4068: unknown pragma 'mark' (#100)
Browse files Browse the repository at this point in the history
This windows specific warning with regards to pragma marks.
  • Loading branch information
franziska-wegner committed Jan 6, 2024
1 parent 48126bc commit fdce041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CompilerConfiguration.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ set(PEDANTIC_FLAGS "-pedantic")
# Microsoft Visual Studio ##########################################
####################################################################
if(MSVC)
add_definitions(/MP /DNOMINMAX)
add_definitions(/MP /DNOMINMAX /wd4068) # /wd4068 disable "unknown pragma 'mark'" warnings
if(CMAKE_BUILD_TYPE MATCHES "Debug")
# D:\a\egoa\egoa\tests\DataStructures\Graphs\TestGraph.cpp : fatal
# error C1128: number of sections exceeded object file format limit:
Expand Down

0 comments on commit fdce041

Please sign in to comment.