-
Notifications
You must be signed in to change notification settings - Fork 46
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
Fix compile warnings #648
Fix compile warnings #648
Conversation
Seems like the file is being reformatted which makes it a bit hard to see what the actual changes are. Also do we expect the ci to fail? |
6c1ddc2
to
1ef1ff2
Compare
1ef1ff2
to
de4ee1d
Compare
de4ee1d
to
0ef0622
Compare
I've undone that formatting, so it should now be clearer what the changes are. I didn't expect the CI to fail, but since we are planning on dropping the support for GAP 4.10, can this be ignored or does it still warrant investigation? @james-d-mitchell |
In case there was a fundamental error, I decided to investigate. In
but this link appears to be dead. This is what was causing the 4.10 tests to fail. Changing the above to
seems to fix the problem. Since the 4.10 jobs will soon be dropped, it doesn't seem like there is any need to make the above change. |
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
#include <stdlib.h> | ||
|
||
#include "graphDrawPlanar.private.h" | ||
#include "graphDrawPlanar.h" | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still formatting changes here
@@ -59,7 +63,7 @@ void _DrawPlanar_FreeContext(void *); | |||
/**************************************************************************** | |||
* DRAWPLANAR_ID - the variable used to hold the integer identifier for this | |||
* extension, enabling this feature's extension context to be distinguished | |||
* from other features' extension contexts that may be attached to a graph. | |||
* from other features' extension contexts that may be attached to a graph. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -30,7 +37,7 @@ graphExtensionP _FindNearestOverload(graphP theGraph, graphExtensionP target, in | |||
* An ID identifies an extension, which may be added to multiple | |||
* graphs. It is used in lieu of identifying extensions by a string | |||
* name, which is noticeably expensive when a frequently called | |||
* overload function seeks the extension context for a graph. | |||
* overload function seeks the extension context for a graph. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More format changes
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wstrict-prototypes" | ||
#pragma GCC diagnostic ignored "-Wmissing-prototypes" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bunch of minor changes please @Joseph-Edwards, please remove the blank lines at the end of every |
This PR continues the work form #633 by fixing compiler warnings for GCC.