~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2009-05-24 23:54:21 UTC
  • mfrom: (1014.2.12 kill-malloc)
  • mto: This revision was merged to the branch mainline in revision 1039.
  • Revision ID: mordred@inaugust.com-20090524235421-x5vfss90auzbn896
Merged Monty from lp:~mordred/drizzle/kill-malloc

Show diffs side-by-side

added added

removed removed

Lines of Context:
1258
1258
    [AS_HELP_STRING([--enable-cast-align-warnings],
1259
1259
       [Toggle cast alignment warnings @<:@default=off@:>@])],
1260
1260
    [ac_warn_cast_align="$enableval"],
1261
 
    [ac_warn_cast_align="no"])
 
1261
    [ac_warn_cast_align="yes"])
1262
1262
 
1263
1263
if test "$GCC" = "yes"
1264
1264
then
1273
1273
  then
1274
1274
    W_FAIL="-Werror"
1275
1275
  fi
1276
 
  BASE_WARNINGS="-Wall -Wextra ${W_FAIL} ${W_CAST_ALIGN}"
 
1276
  BASE_WARNINGS="-Wall -Wextra ${W_FAIL} ${W_CAST_ALIGN} -fdiagnostics-show-option"
1277
1277
 
1278
1278
  if test "$ac_warn_longlong" = "yes"
1279
1279
  then
1284
1284
 
1285
1285
  if test "$ac_warn_strict_aliasing" = "yes"
1286
1286
  then
1287
 
    W_STRICT_ALIASING="-Wstrict-aliasing"
 
1287
    W_STRICT_ALIASING="-fstrict-aliasing -Wstrict-aliasing"
1288
1288
  else
1289
1289
    W_STRICT_ALIASING="-Wno-strict-aliasing"
1290
1290
  fi