This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Bug]: non-static arrays stored in object file


  In message <37A07BFA.D49F9AB9@finagle.org>you write:
  > Yikes!  It appears to be storing the entire *uninitialized* array in the
  > object file (this gets even more exciting if the array is a structure,
  > and padding makes the array even larger).
This is a side effect of the C++ standard not allowing common variables.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]