8 msgWhere to find documentation on pre-defined macros
1 msggcc-4.2.1 pointer questions?
2 msggcc: generated assembly code with C source
1 msgrun a program
3 msgURGENT : elf_update - low performance with larg...
7 msgOdd g++ compiling

warning: dereferencing type-punned pointer will...
\ Jeffrey Holle (24 Jul 2007)
. \ Brian Dessent (24 Jul 2007)
. . \ Jeffrey Holle (25 Jul 2007)
. . \ Nathan Sidwell (26 Jul 2007)

2 msgMakefile questions
4 msgHow to distinguish MYDEF and MYDEF() with #ifdef
3 msginstalling gcc in debian etch
1 msgintermodule analysis
2 msgREG : .dll issue
1 msgwriting to a dump after a pass
4 msg--with-cpu and --with-arch for m68k
1 msginstallation error
2 msggcc 3.2.2
1 msgAgloco ile ayda 210 dolar kazanma firsati
1 msgdependency generation incorrect with precompile...
2 msgHow to write optional code for G++
1 msgRe: error: parse error before 'wint_t'
Subject:warning: dereferencing type-punned pointer will break strict-aliasing rules
Group:Gcc-help
From:Jeffrey Holle
Date:24 Jul 2007


I am using gcc version 4.1.2.

I am writing a Boost.Build based system to build wxWidgets using
applications.

This build system has default build variants "debug" and "release".

On release builds, wxWidgets code emits a lot of these warnings:
warning: dereferencing type-punned pointer will break strict-aliasing
rules

Questions:

1. Are these warnings benign? If so can they be suppressed?
2. If not, what level of optimization should I regress to avoid these
warnings?



© 2004-2008 readlist.com