Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Different flags function

Saravana_Kumar_R_
736 Views

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

0 Kudos
1 Reply
TimP
Honored Contributor III
736 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.

 

0 Kudos
Reply