Community
cancel
Showing results for 
Search instead for 
Did you mean: 
39 Views

Different flags function

I recently started working on someone's code. And I found some compiler flags that I don't know what they are for?

Can anyone explain me what these flags are?

1. -Dintel_

2. -DALLOW_NON_INIT

3. -nofor_main

Thanks in advance

Tags (1)
0 Kudos
1 Reply
TimP
Black Belt
39 Views

-D sets the variable as a preprocessor symbol. You must look in the source code to see how it is used.

-nofor_main asserts the lack of a Fortran main program such as when main() is provided in another language.

These will appear in compiler documentation.

 

Reply