Skip to content
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

invalid gcc option "-fbracket-depth=" #3

Open
florianschanda opened this issue Apr 10, 2018 · 1 comment
Open

invalid gcc option "-fbracket-depth=" #3

florianschanda opened this issue Apr 10, 2018 · 1 comment

Comments

@florianschanda
Copy link

Hi,

I am puzzled by this option. I just cannot find any reference to it in the gcc docs, and indeed gcc does not accept it. I can find some reference to it in bug reports, but no actual mention of it in the official gcc manual.

I am using gcc (GCC) 6.4.1 20180409

@zhoulaifu
Copy link
Owner

Thanks for pointing out the issue. The option "-fbracket-depth" is from Clang. Gcc does not have that option. The option is to deal with situations where the generated C file gets many brackets. You can disable that option in Makefile and you should be fine most of the time. Meanwhile, I plan to optimize a bit the algorithm (there is large room!) to avoid generating too many brackets, so hopefully, that option can be safely removed in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants