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

[BUG] Failure to compile Latest Bugfix with G35 code #18382

Closed
bill-orange opened this issue Jun 21, 2020 · 2 comments
Closed

[BUG] Failure to compile Latest Bugfix with G35 code #18382

bill-orange opened this issue Jun 21, 2020 · 2 comments

Comments

@bill-orange
Copy link

bill-orange commented Jun 21, 2020

**Bug Description:

Compiler error when using the latest bugfix including G35 code:

Marlin\src\gcode\bedlevel\G35.cpp: In static member function 'static void GcodeSuite::G35()':
Marlin\src\gcode\bedlevel\G35.cpp:187:3: error: jump to label 'EXIT_G35'
187 | EXIT_G35:
| ^~~~~~~~
Marlin\src\gcode\bedlevel\G35.cpp:88:10: note: from here
88 | goto EXIT_G35;
| ^~~~~~~~
Marlin\src\gcode\bedlevel\G35.cpp:117:8: note: crosses initialization of 'bool err_break'
117 | bool err_break = false;
| ^~~~~~~~~

**My Configurations:

Included at end

** edit: compiles fine if assisted tramming is turned off
//#define ASSISTED_TRAMMING

**Steps to Reproduce:

  1. use my config files with appropriate PlatformIO environment
  2. compile
  3. observe error

**Expected behavior:

Successful compilation

**Actual behavior:

Failure as noted above.

**Additional Information:

I ran a compare between my configs and those included with the latest bugfix. I could not find an explanation for the failure. Could I be using a different version of Platformio? I have not seen a goto statement since I took FORTRAN in college. Kind of miss those IBM cards.

Marlin.zip

@sjasonsmith
Copy link
Contributor

This has been fixed with 2b286a1.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants