-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Compile error on header : peppa.h:1817:1: error: type qualifiers ignored on function return type #150
Comments
I am getting a lot of errors while trying to use Peppa. Instead of creating a new issue, I will just add them here as there is a good chance I am messing things up (I am fairly new to c).
This is the error I am getting.
|
I am seeing this issue in 1.16 as well. But 1.15 works fine and my program compiles. |
Regarding the reported issue, I noticed GCC options Regarding your second comment, it seems If your project has different gcc setting than Peppa PEG, you may try using Peppa PEG as a lib. See the installation guide. |
@soasme I did try other variants of invoking this. in all Removing This is the output with the latest master;
Opening peppa.c in vscode, the default error checking shows 11 errors
|
@rishavs I'm trying to open it on VS Code but no errors are showing. Compiling example.c & peppe.c on HEAD neither report an error on my side (macOS, gcc).
I assume you are using Windows system and using gcc. I have not tested Peppa PEG on Windows system so the compatibility is not guaranteed. |
Describe the bug
error on compiling the header file
To Reproduce
Expected behavior
the line 1817 should not be there? on commenting it, the error goes away.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: