This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
When I use -std=f95 this fortran77 code will not compile.
Using the default "gnu" mostly just lots of warnings show up. Is "if(present(arg2)) arg2 = 0" available when using gnu?
Maybe my warnings can be suppressed with other switches.
Hmm, I have not seen the ",)" syntax before. I assume that that is some vendor extension, where the compiler does something - or a typo and it should be "arg1)" without ",".
No, the "," is how this old compiler knows I'm not passing that arg. The same could be done as call (arg1,,arg3)
Indicating arg2 was not passed. Also, the very last arg can always be left out without using the ",".
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |