Revert "Try to fix a compil issue in qa test"
This reverts commit decc7ed888
.
This compilation options (-fpermissive) is no longer needed,
as the code that caused the warnings on GCC <7 is no longer
present.
The reason this error was GCC bug #56480 [1], which disallowed
the following (valid, in C++11) syntax:
template<> struct namespace_a::namespace_b::a_struct<TYPE>
{...}
And instead insisted on:
namespace namespace_a {
namespace namespace_b {
template<> struct a_struct<TYPE>
{...}
}
}
[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
This commit is contained in:
parent
97a37a74f8
commit
f5144eb5cf
|
@ -51,7 +51,7 @@ set( common_srcs
|
|||
view/test_zoom_controller.cpp
|
||||
)
|
||||
|
||||
set( common_libs
|
||||
set( common_libs
|
||||
common
|
||||
legacy_gal
|
||||
polygon
|
||||
|
@ -62,11 +62,6 @@ set( common_libs
|
|||
${wxWidgets_LIBRARIES}
|
||||
)
|
||||
|
||||
# test_shape_arc.cpp does not compile without -fpermissive compil option:
|
||||
if( CMAKE_COMPILER_IS_GNUCXX )
|
||||
set( CMAKE_CXX_FLAGS "-fpermissive ${CMAKE_CXX_FLAGS}" )
|
||||
endif()
|
||||
|
||||
|
||||
# Use code with GERBVIEW defines in place (primarily IU difference)
|
||||
add_executable( qa_common_gerbview ${common_srcs} )
|
||||
|
|
Loading…
Reference in New Issue