-
Notifications
You must be signed in to change notification settings - Fork 108
preprocessor directives #113
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
Comments
Is your include file |
As discussed in #78, the |
@milancurcic You are correct that was a typo, but the problem persists after correcting it. |
Hi @smeskos, is the |
@LKedward right, that was the problem. I had this in |
Glad that fixed it! |
Thank you again. I am closing this. |
I am trying to build a simple logging library I wrote some time ago. In order to get file names and current line number I use a small preprocessor file: macros.h that only contains:
and I include it at the beginning of the file I want to use it like
#include "macros.h"
I get this error when I am trying to build with fpm:
Note that this is with
main.f90
When I changed the name to
main.F90
and the fpm.toml file accordingly:Then I got this error:
Any suggestions of what I may be doing wrong?
The text was updated successfully, but these errors were encountered: