Menu

#3691 Cannot create amd64 Windows snapshot on Debian GNU/Linux

closed-invalid
None
other
5
2024-01-08
2024-01-03
No

On my amd64 Debian GNU/Linux testing laptop, I cannot create a snapshot for amd64 Windows. Trying to do so, I see:

/home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/gcc/system.h:784:30: error: expected identifier before string constant
  784 | #define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__)
      |                              ^~~~~~~~
/home/sdcc-builder/build/sdcc-build/orig/sdcc/support/cpp/gcc/system.h:784:30: error: expected , or ... before string constant

I.e. the same symptoms as old [bugs:#3669] (when on amd64 Debian GNU/Linux, creating a snapshot for x86 Windows failed).

Related

Bugs: #3669

Discussion

  • Philipp Klaus Krause

    If I put

    TARGETCXXFLAGS = "-O2 -I/home/sdcc-builder/include -DWIN32_LEAN_AND_MEAN"
    

    into my notebook6-x86_64-w64-mingw32.mk, the compilation gets past this issue.

     
  • Philipp Klaus Krause

    Turns out I was building the nativecrosstools branch, which did not yet have the fix for [bugs:#3669].

     

    Related

    Bugs: #3669

  • Philipp Klaus Krause

    • status: open --> closed-invalid
    • assigned_to: Philipp Klaus Krause
     

Log in to post a comment.