public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 3.4.1: warning: junk at end of '#pragma pack'
@ 2004-07-20 12:34 Milind Changire
  2004-07-20 16:07 ` Milind Changire
  0 siblings, 1 reply; 2+ messages in thread
From: Milind Changire @ 2004-07-20 12:34 UTC (permalink / raw)
  To: gcc help

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc 3.4.1: warning: junk at end of '#pragma pack'
  2004-07-20 12:34 gcc 3.4.1: warning: junk at end of '#pragma pack' Milind Changire
@ 2004-07-20 16:07 ` Milind Changire
  0 siblings, 0 replies; 2+ messages in thread
From: Milind Changire @ 2004-07-20 16:07 UTC (permalink / raw)
  To: gcc help

rats!

it was the semi-colon after #pragma pack(1); that was the junk.

-Milind


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-20 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-20 12:34 gcc 3.4.1: warning: junk at end of '#pragma pack' Milind Changire
2004-07-20 16:07 ` Milind Changire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).