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]
Other format: [Raw text]

[Bug c/61339] New: wide-int.h: 3 * mismatched tags


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61339

            Bug ID: 61339
           Summary: wide-int.h: 3 * mismatched tags
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

1.

../../src/trunk/gcc/wide-int.h:987:1: warning: 'wide_int_storage' defined as a
class here but previously declared as a struct [-Wmismatched-tags]

$ fgrep -n wide_int_storage *.h | egrep "class|struct"
wide-int.h:287:struct wide_int_storage;
wide-int.h:987:class GTY(()) wide_int_storage

2.

../../src/trunk/gcc/wide-int.h:639:1: warning: 'generic_wide_int' defined as a
class template here but previously declared as a struct template
[-Wmismatched-tags]

$ fgrep -n generic_wide_int *.h *.c | egrep "class|struct"
wide-int.h:285:template <typename T> struct generic_wide_int;
wide-int.h:639:class GTY(()) generic_wide_int : public storage

3.
../../src/trunk/gcc/wide-int.h:1127:1: warning: 'fixed_wide_int_storage'
defined as a class template here but previously declared as a struct template
[-Wmismatched-tags]

$ fgrep -n fixed_wide_int_storage *.h *.c | egrep "class|struct"
wide-int.h:286:template <int N> struct fixed_wide_int_storage;
wide-int.h:1127:class GTY(()) fixed_wide_int_storage


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