Opened 7 years ago
Closed 6 years ago
#7910 closed defect (invalid)
gui fails to build with gcc 7
| Reported by: | Joachim Reichel | Owned by: | noone |
|---|---|---|---|
| Priority: | High | Milestone: | |
| Component: | Other | Keywords: | patch, gui |
| Cc: | mtasaka@… |
Description
cppcheck fails to build with the development version of gcc 7. The attached patch fixes the problem.
Original Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853356
Attachments (1)
Change History (9)
by , 7 years ago
| Attachment: | ftbfs-gcc7 added |
|---|
comment:1 by , 7 years ago
| Keywords: | patch gui added |
|---|---|
| Summary: | Fails to build with gcc 7 → gui fails to build with gcc 7 |
Note: from looking at the output, it looks like cppcheck-gui is being build rather than cppcheck.
I tried compiling cppcheck with gcc-7-git and I did not encounter errors.
comment:2 by , 7 years ago
| Cc: | added |
|---|
Fedora also hits this bug now:
https://bugzilla.redhat.com/show_bug.cgi?id=1423312
comment:3 by , 7 years ago
| Priority: | Normal → High |
|---|---|
| Type: | enhancement → defect |
comment:4 by , 7 years ago
gcc upstream developer commented in the above Red Hat bugzilla that this is due to a bug in GCC side:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79566
ref:
https://bugzilla.redhat.com/show_bug.cgi?id=1423312#c7
comment:5 by , 7 years ago
I am not against the patch. but I would prefer that gcc-7 is fixed. If they release this gcc with this bug then I think the patch is fine.
comment:6 by , 7 years ago
The above gcc bug says that this (the gcc bug) is fixed in trunk, which means (by the current gcc status) that the above bug is to be fixed in formal gcc 7 release.
comment:8 by , 6 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
The above gcc bug says that this (the gcc bug) is fixed in trunk, which means (by the current gcc status) that the above bug is to be fixed in formal gcc 7 release
ok, closing this as invalid.
patch