You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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
The reason will be displayed to describe this comment to others. Learn more.
But the issue is simple: clang is default compiler for macOS and it simple doesn't support such option. By adding this you had turn tcpflow into gcc-only project :(
f909240
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.
@simsong unfortunately it brokes build by clang on macOS like:
Anyway, without this options it is building on Apple Clang 14 like a charm :)
f909240
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.
Hi @catap . Can you please let me know which version of macOS you are using?
f909240
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.
@simsong macOS 12; but I may test it on any another version of macOS :)
f909240
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.
But the issue is simple: clang is default compiler for macOS and it simple doesn't support such option. By adding this you had turn tcpflow into gcc-only project :(
f909240
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.
See: https://clang.llvm.org/docs/ClangCommandLineReference.html for supported options by the last clang
f909240
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.
Well, we have code for probing which options should be used. This option should be added there instead. Do you want to submit a correction?
The code is here:
https://github.com/simsong/tcpflow/blob/master/m4/slg_gcc_all_warnings.m4