https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128814
Bug ID: 128814
Summary: [17 regression] g++.dg/modules/compile-std1.C etc.
FAIL
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: jason at gcc dot gnu.org
Target Milestone: ---
Target: *-*-solaris2.11
Two gcc.dg/modules tests FAIL on Solaris:
FAIL: g++.dg/modules/compile-std1.C -std=c++29 (test for excess errors)
Excess errors:
/usr/include/stdio_tag.h:18:16: error: conflicting declaration 'struct __FILE'
/usr/include/stdio_tag.h:18:27: error: conflicting declaration 'typedef int
__FILE'
/usr/include/floatingpoint.h:44:9: error: '__FILE' does not name a type; did
you mean 'FILE'?
/usr/include/wchar_impl.h:16:16: error: conflicting declaration 'struct
__mbstate_t'
/usr/include/wchar_impl.h:22:3: error: conflicting declaration 'typedef int
__mbstate_t'
/usr/include/stdio_impl.h:42:8: error: conflicting declaration 'struct __FILE'
/usr/include/iso/stdio_iso.h:71:9: error: '__FILE' does not name a type; did
you mean 'FILE'?
/usr/include/iso/stdio_iso.h:152:8: error: '__FILE' does not name a type; did
you mean '__FILE__'?
and many more
UNRESOLVED: g++.dg/modules/hello-1 -std=c++17 execute
UNRESOLVED: g++.dg/modules/hello-1 -std=c++17 link
UNRESOLVED: g++.dg/modules/hello-1 -std=c++20 execute
UNRESOLVED: g++.dg/modules/hello-1 -std=c++20 link
UNRESOLVED: g++.dg/modules/hello-1 -std=c++29 execute
UNRESOLVED: g++.dg/modules/hello-1 -std=c++29 link
FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors)
FAIL: g++.dg/modules/hello-1_b.C -std=c++20 (test for excess errors)
FAIL: g++.dg/modules/hello-1_b.C -std=c++29 (test for excess errors)
Excess errors:
/usr/include/stdio_tag.h:18:16: error: conflicting declaration 'struct __FILE'
/usr/include/stdio_tag.h:18:27: error: conflicting declaration 'typedef int
__FILE'
/usr/include/floatingpoint.h:44:9: error: '__FILE' does not name a type; did
you mean 'FILE'?
/usr/include/wchar_impl.h:16:16: error: conflicting declaration 'struct
__mbstate_t'
/usr/include/wchar_impl.h:22:3: error: conflicting declaration 'typedef int
__mbstate_t'
/usr/include/stdio_impl.h:42:8: error: conflicting declaration 'struct __FILE'
/usr/include/iso/stdio_iso.h:71:9: error: '__FILE' does not name a type; did
you mean 'FILE'?
/usr/include/iso/stdio_iso.h:152:8: error: '__FILE' does not name a type; did
you mean '__FILE__'?
and more.