~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_warnings.m4

  • Committer: Monty Taylor
  • Date: 2010-12-10 17:15:20 UTC
  • mto: (2023.3.15 innodb-cxx)
  • mto: This revision was merged to the branch mainline in revision 2014.
  • Revision ID: mordred@inaugust.com-20101210171520-jjzk0ajz1w6dgexo
Cleaned up for additional gcc 4.5 warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
              [NO_CONVERSION="-Wno-conversion"])
214
214
      ])
215
215
 
216
 
      CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align ${CC_WARNINGS_FULL}"
 
216
      CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wc++-compat ${CC_WARNINGS_FULL}"
217
217
      CXX_WARNINGS="${BASE_WARNINGS} -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long ${CXX_WARNINGS_FULL}"
218
218
 
219
219
      AC_CACHE_CHECK([whether it is safe to use -Wmissing-declarations from C++],
350
350
      dnl TODO: Figure out a better way to deal with this:
351
351
      PROTOSKIP_WARNINGS="-Wno-effc++ -Wno-shadow -Wno-missing-braces ${NO_ATTRIBUTES}"
352
352
      NO_WERROR="-Wno-error"
353
 
      INNOBASE_SKIP_WARNINGS="-Wno-shadow -Wno-cast-align"
 
353
      INNOBASE_SKIP_WARNINGS="-Wno-shadow -Wno-cast-align -Wno-c++-compat"
354
354
      AS_IF([test "$host_vendor" = "apple"],[
355
355
        BOOSTSKIP_WARNINGS="-Wno-uninitialized"
356
356
      ])