title: pragma pack(1) nor __attribute__ ((aligned (1))) works
body: <p>My code used to work in the past, but now the struct size suddenly is 16 bytes. It used to be 13 bytes. I recently upgraded from Xcode 4.2 to Xcode 4.3.1 (4E1019).</p>
  
  <pre><code>#pragma pack(1)
  struct ChunkStruct {
      uint32_t width;
      uint32_t height;
      uint8_t bit_depth;
      uint8_t color_type;
      uint8_t compression;
      uint8_t filter;
      uint8_t interlace;
  };
  #pragma pack()
  STATIC_ASSERT(expected_13bytes, sizeof(struct ChunkStruct) == 13);
  </code></pre>
  
  <p>I have tried unsuccesfully using</p>
  
  <pre><code>#pragma pack(push, 1)
  /* struct ChunkStruct { ... }; */
  #pragma pack(pop)
  </code></pre>
  
  <p>I have also tried the following, but no luck</p>
  
  <pre><code>struct ChunkStruct {
      uint32_t width;
      uint32_t height;
      uint8_t bit_depth;
      uint8_t color_type;
      uint8_t compression;
      uint8_t filter;
      uint8_t interlace;
  } __attribute__ ((aligned (1)));
  </code></pre>
  
  <p><strong>How to pack structs with Xcode 4.3.1 ?</strong></p>