Work around for an error compiling boost/crc.hpp with GCC v6

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7624 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2017-03-29 23:35:13 +00:00
parent 0e56d95a90
commit b99a0f45bd

View File

@ -265,6 +265,12 @@ set (wsjtx_CXXSRCS
WSPRBandHopping.cpp
)
set (wsjt_CXXSRCS
lib/crc12.cpp
)
# deal with a GCC v6 UB error message
set_source_files_properties (lib/crc12.cpp PROPERTIES COMPILE_FLAGS -fpermissive)
if (WIN32)
set (wsjt_CXXSRCS
${wsjt_CXXSRCS}
@ -1081,7 +1087,7 @@ target_link_libraries (ldpcsim40 wsjt_fort wsjt_cxx)
add_executable (ldpcsim144 lib/ldpcsim144.f90 wsjtx.rc)
target_link_libraries (ldpcsim144 wsjt_fort wsjt_cxx)
add_executable (ldpcsim168 lib/fsk4hf/ldpcsim168.f90 lib/crc12.cpp wsjtx.rc)
add_executable (ldpcsim168 lib/fsk4hf/ldpcsim168.f90 wsjtx.rc)
target_link_libraries (ldpcsim168 wsjt_fort wsjt_cxx)
add_executable (msk144sim lib/msk144sim.f90 wsjtx.rc)