------- Additional Comments From pcarlini at suse dot de  2005-01-20 12:26 
-------
> Paolo, I think I'm going to have a warning like this:

Well, if I understand well the current status, we *must* warn the user about
that. And, of course, I believe the current (for 4.0, that is) usage in tr1/
type_traits will *not* trigger the warning, because is ok. Indeed, I see the
alignment request respected in this kind of situation:

  template<std::size_t _Len>
    struct aligned_storage<_Len, 1>
    {
      union type
      {
        unsigned char __data[_Len];
        char __align __attribute__((aligned(1)));
      };
    };

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19508

Reply via email to