www.digitalmars.com         C & C++   DMDScript  

c++.command-line - would -WA option be worked?

I used following command lines to compile a windows GUI program,
but I got a console one?

dmc -WA -cpp Main.cpp 

ref to "ctg"  , if -WA option presents, DM compiles GUI program.

ps. I'm sure Main.cpp file defined WinMain correctly.  

this command line  works:

dmc Main.cpp -L/su:windows 
Jun 01 2003