Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOURCEFORGE-7] syntax error in p3dout.c #384

Open
brtnfld opened this issue Sep 29, 2010 · 1 comment
Open

[SOURCEFORGE-7] syntax error in p3dout.c #384

brtnfld opened this issue Sep 29, 2010 · 1 comment
Assignees

Comments

@brtnfld
Copy link
Member

brtnfld commented Sep 29, 2010

The multi-line macro beginning on line 22 of p3dout.c is missing an end bracket. It currently reads (ignoring whitespace)

fprintf (stderr, "Fortran unformatted output not supported for %s machine\n", bf_machname (MACH_LOCAL);

but should read

fprintf (stderr, "Fortran unformatted output not supported for %s machine\n", bf_machname (MACH_LOCAL));

Reported by: fommil

@brtnfld
Copy link
Member Author

brtnfld commented Sep 29, 2010

On OS X, the MACH_LOCAL variable is not defined so I ended up using a hack and changing the line to

fprintf (stderr, "Fortran unformatted output not supported\n");

Original comment by: fommil

@brtnfld brtnfld self-assigned this Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant