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

Rework compiler/linker flags #10

Merged
merged 1 commit into from
Jun 21, 2021
Merged

Conversation

wavexx
Copy link
Collaborator

@wavexx wavexx commented Feb 7, 2021

  • Remove unnecessary warning flags during linking stage
  • Remove -fuse-linker-plugin, implied by -flto at link time
  • Remove -fpermissive to avoid future warning creep (depends on ⚡️New SD menu Prusa-Firmware#2405)
  • Add -fno-rtti for c++ (no savings, just to avoid future usage of rtti)

- Remove unnecessary warning flags during linking stage
- Remove -fuse-linker-plugin, implied by -flto at link time
- Remove -fpermissive to avoid future warning creep (depends on prusa3d/Prusa-Firmware#2405)
- Add -fno-rtti for c++ (no savings, just to avoid future usage of rtti)
@leptun
Copy link
Collaborator

leptun commented Feb 7, 2021

I totally approve the removal of -fpermissive, but only after the new SD menu is merged as that generates a const pointer violation.

@DRracer DRracer merged commit 37f2bee into prusa3d:master Jun 21, 2021
@wavexx wavexx deleted the rework_compiler_flags branch September 11, 2021 14:30
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

Successfully merging this pull request may close these issues.

3 participants