Make warnings under Solaris 9 with gcc
"Rolf E. Sonneveld" <[email protected]> Wed, 21 Apr 2004 16:12:53 +0200
| Newsgroups | gmane.comp.security.virus.vtools |
|---|---|
| Organization | Sonnection B.V. |
| Message-ID | <[email protected]> |
Hi, I'm new to this least, please bear with me. Running Solaris 9 Sparc I get the following warnings when making sophie: # make gcc -g -O2 -Wall -Isav_if -c sophie.c gcc -g -O2 -Wall -Isav_if -c sophie_init.c sophie_init.c: In function `sophie_init': sophie_init.c:26: warning: dereferencing type-punned pointer will break strict-aliasing rules sophie_init.c:35: warning: dereferencing type-punned pointer will break strict-aliasing rules sophie_init.c: In function `sophie_show_settings': sophie_init.c:518: warning: dereferencing type-punned pointer will break strict-aliasing rules sophie_init.c:536: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -g -O2 -Wall -Isav_if -c sophie_scandir.c gcc -g -O2 -Wall -Isav_if -c sophie_core.c sophie_core.c: In function `sophie_log_virus': sophie_core.c:408: warning: dereferencing type-punned pointer will break strict-aliasing rules sophie_core.c: In function `sophie_scanfile': sophie_core.c:442: warning: dereferencing type-punned pointer will break strict-aliasing rules sophie_core.c: In function `sophie_version': sophie_core.c:752: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -g -O2 -Wall -Isav_if -c sophie_notify.c gcc -g -O2 -Wall -Isav_if -Wl,-R/usr/local/lib -L/usr/local/lib -lrt -lsocket -lsavi sophie.o sophie_init.o sophie_scandir.o sophie Should I be worried? What does the warning mean (I'm not a programmer)? Can I trust the 'sophie' image created by this make? /rolf