File: GCC.cmake

package info (click to toggle)
step 4:22.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 10,272 kB
  • sloc: cpp: 16,760; xml: 701; python: 380; javascript: 93; sh: 39; makefile: 3
file content (7 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
# This file is for GCC specific options.

# The macro STEPCORE_OBJECT expands to include the definition of a virtual function. This
# function definition does not specify 'override', so where STEPCORE_OBJECT is used in
# derived classes, the compiler complains that the function is not defined with 'override'
# and throws a warning. This will suppress that warning, pending a better way to do it
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override")