Updated MakeFile for compatability with linux mint#16
Open
EdgeCaseBerg wants to merge 1 commit intoseenaburns:masterfrom
Open
Updated MakeFile for compatability with linux mint#16EdgeCaseBerg wants to merge 1 commit intoseenaburns:masterfrom
EdgeCaseBerg wants to merge 1 commit intoseenaburns:masterfrom
Conversation
-c99 for the standard causes the code to fail with an implicit declaration of the function strsep as well as errors from atoi making a pointer from an integer without a cast. Updating the makefile to use the gnu99 standard resolves these errors.
Owner
|
This feels like an indirect way of addressing the problem, is there a way of fixing the code itself to compile on Linux Mint? Or would it compile without -Werror? I haven't heard of people experiencing this problem before, so I'd prefer to make smaller changes, in case changing the standard introduces new issues. |
Author
|
This is the full error from trying to run Removing -Werror will allow it compile with warnings, but if you ask me removing -Werror is worse than updating to a different standard. The issue is that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-c99 for the standard causes the code to fail with an implicit
declaration of the function strsep as well as errors from atoi making a
pointer from an integer without a cast. Updating the makefile to use the
gnu99 standard resolves these errors.
For reference: