QB64 Phoenix Edition
GNU C++ Compiler error - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: GNU C++ Compiler error (/showthread.php?tid=3307)



GNU C++ Compiler error - eoredson - 12-20-2024

Hi,

I have found this error:

Code: (Select All)
QB64PE Menu:

When Alt-O to open options, then Compiler settings:

[ ] Compile program with C++ optimization flag
[ ] Strip C++ symbols from executable
[ ] Add C++ Debug Information

C++ Compiler Flags [            ]
C++ Linker Flags [            ]

Max C++ Compiler Processes [3      ]

<OK>  <Cancel>

c:\qb64pe\internal\temp\compilelog.txt
  will create GNU C++ compiler error when processes is to low.
  (increase to 16).



RE: GNU C++ Compiler error - RhoSigma - 12-20-2024

(Today, 08:09 AM)eoredson Wrote: Hi,

I have found this error:

Code: (Select All)
QB64PE Menu:

When Alt-O to open options, then Compiler settings:

[ ] Compile program with C++ optimization flag
[ ] Strip C++ symbols from executable
[ ] Add C++ Debug Information

C++ Compiler Flags [            ]
C++ Linker Flags [            ]

Max C++ Compiler Processes [3      ]

<OK>  <Cancel>

c:\qb64pe\internal\temp\compilelog.txt
  will create GNU C++ compiler error when processes is to low.
  (increase to 16).

I doubt that this is a compiler issue, as the named option is rather a make specific one. It tells make how many compiler threads it shall span at max.

I guess you're on Linix, as MacOS and since v4.0.0 also the Windows versions use the LLVM MinGW toolchain, not GNU. If you see it works for you with a setting of 16, then go with that, it's however no reason to change the default setting IMHO.