public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/104737] New: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris
@ 2022-03-01 12:09 ro at gcc dot gnu.org
  2022-03-01 12:10 ` [Bug d/104737] " ro at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-01 12:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104737
           Summary: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on
                    Solaris
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-solaris2.11

Since 20211130, the gdc.test/runnable_cxx/cppa.d test FAILs on Solaris:

+UNRESOLVED: gdc.test/runnable_cxx/cppa.d   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable_cxx/cppa.d -g   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable_cxx/cppa.d -g -shared-libphobos   compilation
failed to produce executable
+UNRESOLVED: gdc.test/runnable_cxx/cppa.d -shared-libphobos   compilation
failed to produce executable

unnable_cxx/extra-files/cppb.cpp:959:31: error: 'string' in namespace 'std'
does not name a type
runnable_cxx/extra-files/cppb.cpp:959:26: note: 'std::string' is defined in
header '<string>'; did you forget to '#include <string>'?
runnable_cxx/extra-files/cppb.cpp: In function 'void test18955()':
runnable_cxx/extra-files/cppb.cpp:963:10: error: 'string' is not a member of
'std'
runnable_cxx/extra-files/cppb.cpp:963:10: note: 'std::string' is defined in
header '<string>'; did you forget to '#include <string>'?
runnable_cxx/extra-files/cppb.cpp:966:19: error: 's' was not declared in this
scope

It seems the dmd migration/import lost the defined(__sun) (or rather
defined(__sun__) && defined(__svr4__)) in cppb.cpp to include <string> again.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-02 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 12:09 [Bug d/104737] New: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris ro at gcc dot gnu.org
2022-03-01 12:10 ` [Bug d/104737] " ro at gcc dot gnu.org
2022-03-01 18:47 ` ibuclaw at gdcproject dot org
2022-03-02 17:26 ` ibuclaw at gdcproject dot org
2022-03-02 17:26 ` ibuclaw at gdcproject dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).