Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

console or quickwin ?

c_sylvestre
Beginner
449 Views
Is it possible for a program to know if it has been compile in console or quickwin mode ?

thanks
0 Kudos
2 Replies
Lorri_M_Intel
Employee
449 Views
No, there doesn't seem to be anything set in the compiler.
You can, of course, build your application using -DQWIN, and then have conditional code in your program that varies based on whether that -D is set or not.
- Lorri
0 Kudos
Steven_L_Intel1
Employee
449 Views
I once tried to see if I could come up with a run-time test that would be able to tell, but I was not successful. I'll admit I didn't try too hard...
0 Kudos
Reply