typedef unsigned int size_type;

namespace values 
{
  struct EnumTag
  {
    int tag;
    const char* discriminator;
    const char* description;
  };

  struct EnumInfo
  {
    size_type count;
    size_type size;
    EnumTag   values[];
  };
}

values::EnumInfo lapdCREnumInfo =
{
  2,0,{
       {0, "Command", "command" },
       {1, "Response","response"}
     }
};

g++ -c bug_file.cpp


-- 
           Summary: internal compiler error: in tree_low_cst, at tree.c:3255
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yeolahim at gmail dot com
 GCC build triplet: gcc version 3.3.5 (Debian 1:3.3.5-13)
  GCC host triplet: Linux 2.6.8-2-686-smp #1 SMP Tue Aug 16 12:08:30 UTC
                    2005 i686 G


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

Reply via email to