message: [cmake] PedanticCompiler updates
diff: @@ -23,6 +23,7 @@ option(PEDANTIC_COMPILER "Compile the project with almost all warnings turned on
  if(${PEDANTIC_COMPILER})
  if(("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang"))
  message(STATUS "Enabling pedantic compiler options: yes")
  + # TODO: check https://github.com/lefticus/cppbestpractices/blob/master/02-Use_the_Tools_Available.md#compilers
  try_add_compile_options(-Wall)
  try_add_compile_options(-Wduplicate-enum)
  try_add_compile_options(-Wduplicated-cond)
  @@ -34,6 +35,7 @@ if(${PEDANTIC_COMPILER})
  try_add_compile_options(-Wnewline-eof)
  try_add_compile_options(-Wno-unknown-attributes)
  try_add_compile_options(-Wno-unknown-pragmas)
  + try_add_compile_options(-Wnull-dereference)
  try_add_compile_options(-Wsign-conversion)
  try_add_compile_options(-Wsuggest-destructor-override)
  try_add_compile_options(-pedantic)
  