8241476: Linux build warnings issued on gcc 9 #150
Conversation
Merge master
Merge from jfx
merge from jfx
|
Webrevs
|
The problem is that gcc, for whatever reason, started issuing a (useless) warning if you pass the |
Like this? I think all C builds are covered. Gstreamer seems to have a Makefile with the flags. Not sure about libxml and libxlst inside javafx.web. |
I think it's better to split the flags between CFLAGS and CPPFLAGS (as is done in OpenJDK). The |
I took a look yesterday and came to the same conclusion that what we really want are separate C and C++ flags. For now, the only difference would be the presence or absence of |
/reviewers 2 |
@kevinrushforth |
Please, let me know if this is the desired way to do it. If not, I will rework it. Thanks. |
This is roughly what I had in mind. I want to test it, and also take a look at the WebKit and media builds as well. WebKit uses the flags from |
The build changes in Two comments:
|
Done. |
Looks good. |
After this change below c files would be compiled without modules/javafx.graphics/src/main/native-glass/gtk/wrapped.c This can be addressed in follow on issue. Recording the files here for track. |
@tsayao This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 32 commits pushed to the As you do not have Committer status in this project, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@kevinrushforth, @arapte) but any other Committer may sponsor as well.
|
/integrate |
/sponsor |
@kevinrushforth @tsayao The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit 7044cef. |
Simple fix to remove annoying warnings.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/150/head:pull/150
$ git checkout pull/150