Help with derelict and codeblocks

Anders F Björklund afb at algonet.se
Thu May 11 00:41:11 PDT 2006


Jarno Tuomainen wrote:

> Doesnt rant about symbols anymore, but now i get error:
> 
> -------------- Build: Release in sdl ---------------
> Compiling: main.d
> Error: unrecognized switch '-O2'
> Process terminated with status 1 (0 minutes, 0 seconds)
> 0 errors, 0 warnings

It's called "-O2" in GDC, but in DMD it's instead called "-O"

If this was from the settings for the DMD compiler, it's a bug.

--anders



More information about the Digitalmars-d mailing list