gcc 3.4.1: warning: junk at end of '#pragma pack'

Milind Changire milindc@telesoftnet.com
Tue Jul 20 12:34:00 GMT 2004


Environment: RedHat 8.0 i386
             gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
             gcc 3.4.1

I've recently downloaded and compiled gcc 3.4.1 with gcc 3.2.
A "#pragma pack(1);" generates a 'junk at end' warning under
gcc 3.2 as well as gcc 3.4.1.

Is gcc 3.4.1 still broken in this respect?
How serious is the warning?
Is the preprocessor directive skipped totally?

Awaiting help.
-Milind




More information about the Gcc-help mailing list