www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 247] New: __va_list C++ mangling broken on ARM


            Bug ID: 247
           Summary: __va_list C++ mangling broken on ARM
           Product: GDC
           Version: development
          Hardware: ARM
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw gdcproject.org
          Reporter: johannespfau gmail.com


/tmp/ccKMJDyv.o: In function `myprintf(char const*, ...)':
cppa.d:(.text+0xcdc): undefined reference to `myvprintf(char const*,
/tmp/ccWjjwHd.o: In function `myvprintf(char const*, std::__va_list)':
cppb.cpp:(.text+0x52c): undefined reference to `myvprintfx(char const*,
collect2: error: ld returned 1 exit status
compiler exited with status 1
PASS: runnable/cppa.d (test for excess errors)

 Yes, it is indeed given an std namespace on arm. This is something to handle
in a hook like Target::mangle in the frontend.
-- You are receiving this mail because: You are watching all bug changes.
Oct 30 2016