Compilation error: Eeprom.cpp:659: error: expected primary-expression before ')' token

The verbose error report:

Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

E:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "E:\Program Files (x86)\Arduino\hardware" -tools "E:\Program Files (x86)\Arduino\tools-builder" -tools "E:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "E:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Jeremy Siegfried 2\Documents\Arduino\libraries" -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10609 -build-path "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Jeremy Siegfried 2\Downloads\Repetier-Firmware-2016-07-25\Repetier-Firmware\Repetier\Repetier.ino"
E:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "E:\Program Files (x86)\Arduino\hardware" -tools "E:\Program Files (x86)\Arduino\tools-builder" -tools "E:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "E:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Jeremy Siegfried 2\Documents\Arduino\libraries" -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10609 -build-path "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Jeremy Siegfried 2\Downloads\Repetier-Firmware-2016-07-25\Repetier-Firmware\Repetier\Repetier.ino"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Repetier.ino.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Repetier.ino.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "E:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\BedLeveling.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Commands.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Communication.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Drivers.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Eeprom.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Extruder.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\HAL.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Printer.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Repetier.ino.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\SDCard.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\SdFat.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\gcode.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\motion.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\ui.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\uilang.cpp" -o "nul"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Repetier.ino.cpp" -o "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"E:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\BedLeveling.cpp" -o "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\BedLeveling.cpp.o"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Commands.cpp" -o "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Commands.cpp.o"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Communication.cpp" -o "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Communication.cpp.o"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Drivers.cpp" -o "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Drivers.cpp.o"
"E:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IE:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Eeprom.cpp" -o "C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Eeprom.cpp.o"
C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Eeprom.cpp: In static member function 'static void EEPROM::initalizeUncached()':

Eeprom.cpp:469: error: expected primary-expression before ')' token

     HAL::eprSetFloat(EPR_Z_PROBE_X_OFFSET,Z_PROBE_X_OFFSET);

                                                           ^

C:\Users\JEREMY~1\AppData\Local\Temp\buildfc9d38f9d47a8672465b882e025c50b7.tmp\sketch\Eeprom.cpp: In static member function 'static void EEPROM::readDataFromEEPROM(bool)':

Eeprom.cpp:659: error: expected primary-expression before ')' token

             HAL::eprSetFloat(EPR_Z_PROBE_X_OFFSET,Z_PROBE_X_OFFSET);

                                                                   ^

Using library SPI at version 1.0 in folder: E:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI 
exit status 1
expected primary-expression before ')' token

Images showing the window with the line of error and the window with the value in question:
image
image

Comments

  • Looks like Z_PROBE_X_OFFSET is defined in configuration.h as empty and that causes the compile error. Maybe there are more empty variables. Some time ago the config tool could produce this on first download. A second download then returned the correct configuration.h. Could also be an other thing but I'd have a look into the configuration and what is stored there.
  • Found two more instances of the Z_PROBE_X_OFFSET and the EPR_Z_PROBE_OFFSET variables in the code. The first is later in the Eeprom.h file:
    image
    And the second is the exact same call causing the error, but earlier in the Eeprom.cpp code (a potential duplicate of an operation that only works once?):
    image
    (There is yet another occurrence of these variables even later in the code, at line 940, but it cannot be causing the current error because the compiler doesn't get a chance to reach it).
  • But your problem is the one in Configuration.h that should look like

    #define Z_PROBE_X_OFFSET 0

    but in your case the value is missing.
  • I added the missing value to the configuration yesterday and downloaded the new firmware. After working through several other user errors, I am now able to compile the code in the Arduino IDE, and am now facing issues with the programmer. This thread can now be closed.

    Along the way, I did find that the "Repetier.cpp" file is missing from the download. I assume that it was removed to avoid the duplicate objects that occurred when I tried using a renamed version of the .ino while still in the same folder. Unfortunately, neither the .ino or a rename of it will compile correctly in codeblocks. At the end of compilation, it always comes up with "Error linking objects." and never got a chance to upload.

    This issue (now closed) was also put up on github.
Sign In or Register to comment.