This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Help! malformed '#pragma pack'
- To: gcc-help at gcc dot gnu dot org
- Subject: Help! malformed '#pragma pack'
- From: Kathy Bieltz <kbieltz at hal-pc dot org>
- Date: Fri, 01 Jun 2001 15:24:16 -0500
Hi,
I'm running RH Linux 6.0 and my current gcc compiler
is version 2.91.66. I'm trying to port some
C++ code to my Linux box and the compiler
is complaining about a malformed '#pragma pack'.
I want to build a new gcc compiler that
understands how to interpret '#pragma pack(n, ...)
that is defined in c_pragma.c in the gcc source code.
I haven't built a gcc compiler from the source before.
Should the gcc 2.95.3 compiler automatically include
the c_pragma.c definitions? If not if someone could
tell me how to make sure it is included in my gcc build
it would be greatly appreciated.
Thanks!
Kathy Bieltz