Browse Source

Merge pull request #4109 from esenapaj/Enclose-#error-string-by-double-quotes

Enclose #error string by double-quotes
Scott Lahteine 9 years ago
parent
commit
c8186e9423
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      Marlin/SanityCheck.h

+ 7
- 7
Marlin/SanityCheck.h View File

@@ -45,11 +45,11 @@
45 45
  * will force a minimum config file revision, otherwise Marlin will not build.
46 46
  */
47 47
 #if ! defined(CONFIGURATION_H_VERSION) || CONFIGURATION_H_VERSION < REQUIRED_CONFIGURATION_H_VERSION
48
-  #error You are using an old Configuration.h file, update it before building Marlin.
48
+  #error "You are using an old Configuration.h file, update it before building Marlin."
49 49
 #endif
50 50
 
51 51
 #if ! defined(CONFIGURATION_ADV_H_VERSION) || CONFIGURATION_ADV_H_VERSION < REQUIRED_CONFIGURATION_ADV_H_VERSION
52
-  #error You are using an old Configuration_adv.h file, update it before building Marlin.
52
+  #error "You are using an old Configuration_adv.h file, update it before building Marlin."
53 53
 #endif
54 54
 
55 55
 /**
@@ -146,7 +146,7 @@
146 146
  * Individual axis homing is useless for DELTAS
147 147
  */
148 148
 #if ENABLED(INDIVIDUAL_AXIS_HOMING_MENU) && ENABLED(DELTA)
149
-  #error INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics.
149
+  #error "INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics."
150 150
 #endif
151 151
 
152 152
 /**
@@ -371,7 +371,7 @@
371 371
  * Advance Extrusion
372 372
  */
373 373
 #if ENABLED(ADVANCE) && ENABLED(LIN_ADVANCE)
374
-  #error You can enable ADVANCE or LIN_ADVANCE, but not both.
374
+  #error "You can enable ADVANCE or LIN_ADVANCE, but not both."
375 375
 #endif
376 376
 
377 377
 /**
@@ -545,15 +545,15 @@
545 545
  */
546 546
 #if EXTRUDERS > 3
547 547
   #if !PIN_EXISTS(E3_STEP) || !PIN_EXISTS(E3_DIR) || !PIN_EXISTS(E3_ENABLE)
548
-    #error E3_STEP_PIN, E3_DIR_PIN, or E3_ENABLE_PIN not defined for this board.
548
+    #error "E3_STEP_PIN, E3_DIR_PIN, or E3_ENABLE_PIN not defined for this board."
549 549
   #endif
550 550
 #elif EXTRUDERS > 2
551 551
   #if !PIN_EXISTS(E2_STEP) || !PIN_EXISTS(E2_DIR) || !PIN_EXISTS(E2_ENABLE)
552
-    #error E2_STEP_PIN, E2_DIR_PIN, or E2_ENABLE_PIN not defined for this board.
552
+    #error "E2_STEP_PIN, E2_DIR_PIN, or E2_ENABLE_PIN not defined for this board."
553 553
   #endif
554 554
 #elif EXTRUDERS > 1
555 555
   #if !PIN_EXISTS(E1_STEP) || !PIN_EXISTS(E1_DIR) || !PIN_EXISTS(E1_ENABLE)
556
-    #error E1_STEP_PIN, E1_DIR_PIN, or E1_ENABLE_PIN not defined for this board.
556
+    #error "E1_STEP_PIN, E1_DIR_PIN, or E1_ENABLE_PIN not defined for this board."
557 557
   #endif
558 558
 #endif
559 559
 

Loading…
Cancel
Save