system
June 8, 2017, 10:09pm
1
Hi,
I have a litte question. Why don't work the 1.8.3 Compiler, but the 1.0.6 work?
I use Windows 10. Is something wrong with my code or is it the compiler?
This is my second project with a arduino (thats mean sorry for the bad code )
Programm.txt (16.4 KB)
pert
June 8, 2017, 10:17pm
2
What exactly do you mean by "don't work"? When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).
system
June 8, 2017, 10:22pm
3
I got the error
Code:45: error: 'abfrageosvr' was not declared in this scope
attachInterrupt(0,abfrageosvr,RISING); //PIN 2 //INFO /interrupts(); /noInterrupts();
^
Code:46: error: 'abfrageosvl' was not declared in this scope
attachInterrupt(1,abfrageosvl,RISING); //PIN 3
^
C:\Users\Tim\Desktop\HSNR\Zweitsemesterprojekt\Code\Code.ino: In function 'void loop()':
Code:77: error: 'checkos' was not declared in this scope
checkos();
^
Code:95: error: 'fahren' was not declared in this scope
fahren();
^
Code:104: error: 'fahren' was not declared in this scope
fahren();
^
Code:107: error: 'Korrektur' was not declared in this scope
Korrektur();
^
Code:111: error: 'stoppen' was not declared in this scope
stoppen();
^
Code:125: error: 'Kurvelinks' was not declared in this scope
Kurvelinks();
^
Code:132: error: 'Korrektur' was not declared in this scope
Korrektur();
^
Code:136: error: 'Linie' was not declared in this scope
Linie();
^
C:\Users\Tim\Desktop\HSNR\Zweitsemesterprojekt\Code\Code.ino: In function 'void Linie()':
Code:151: error: 'fahren' was not declared in this scope
fahren(); //evtl entfernen oder durch Korrektur ersetzen
^
Code:158: error: 'fahren' was not declared in this scope
fahren(); //evtl entfernen oder durch Korrektur ersetzen
^
Code:162: error: 'fahren' was not declared in this scope
fahren(); //evtl entfernen oder durch Korrektur ersetzen
^
suchen: In function 'void Kurverechts()':
suchen:257:11: error: 'posvr' was not declared in this scope
suchen:258:11: error: 'posvl' was not declared in this scope
suchen:274:11: error: 'stoppen' was not declared in this scope
suchen:283:13: error: 'checkos' was not declared in this scope
suchen: In function 'void Kurvelinks()':
suchen:315:11: error: 'posvr' was not declared in this scope
suchen:316:11: error: 'posvl' was not declared in this scope
suchen:332:11: error: 'stoppen' was not declared in this scope
suchen:341:13: error: 'checkos' was not declared in this scope
suchen: In function 'void checkos()':
suchen:423:9: error: 'posvr' was not declared in this scope
suchen:424:9: error: 'posvl' was not declared in this scope
suchen:425:9: error: 'poshr' was not declared in this scope
suchen:426:9: error: 'poshl' was not declared in this scope
exit status 1
'abfrageosvr' was not declared in this scope
But only with the IDE 1.8.3 the 1.0.6 works.
pert
June 8, 2017, 10:39pm
4
There is a bug in the Arduino pre-processor that breaks function prototype generation when there is a multi-line comment that has a pound sign followed by a space followed by a number as on the fourth line of your sketch. This is the cause of your error. If you remove that line or just the first pound sign, the space, or the number then your sketch will compile. I'll report this issue to the Arduino developers and update this thread with a link when that's done.
pert,
maybe they could/should use cpp to remove the comments.
Couldn't they do it by running the sketch through cpp with -fpreprocessed instead of trying to do it themselves?
--- bill
pert
June 8, 2017, 11:42pm
6
I know they just did a big reworking of arduino-builder. Massimo Banzi announced this on the Developer's mailing list yesterday:
https://groups.google.com/a/arduino.cc/forum/#!topic/developers/k2fEqQwQKjQ
and cmaglie submitted a PR for it today:
arduino:master
← cmaglie:preprocessor
opened 06:29PM - 08 Jun 17 UTC
I haven't been able to make it work, maybe something needs to be added to my platform.txt?
So it's quite possible this bug has already been fixed
pert
June 9, 2017, 12:01am
7
Here's my issue report for this bug:
opened 12:01AM - 09 Jun 17 UTC
closed 08:32AM - 12 Jun 17 UTC
type: imperfection
topic: preprocessor
conclusion: resolved
topic: code
Using Arduino IDE 1.8.3 with Windows 7 64 bit
Demonstration sketch:
``` ardu… ino
/*
# 1
*/
void setup() {
test();
}
void loop() {}
void test() {}
```
Verbose output:
```
Arduino: 1.8.3 (Windows 7), Board: "Arduino/Genuino Uno"
E:\ArduinoIDE\arduino-1.8.3\arduino-builder -dump-prefs -logger=machine -hardware E:\ArduinoIDE\arduino-1.8.3\hardware -hardware C:\Users\per\AppData\Local\Arduino15\packages -hardware E:\Stuff\misc\electronics\arduino\hardware -tools E:\ArduinoIDE\arduino-1.8.3\tools-builder -tools E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -tools C:\Users\per\AppData\Local\Arduino15\packages -built-in-libraries E:\ArduinoIDE\arduino-1.8.3\libraries -libraries E:\Stuff\misc\electronics\arduino\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\per\AppData\Local\Temp\arduino_build_876900 -warnings=all -build-cache C:\Users\per\AppData\Local\Temp\arduino_cache_226063 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -verbose E:\Stuff\misc\electronics\arduino\temp\issue\issue.ino
E:\ArduinoIDE\arduino-1.8.3\arduino-builder -compile -logger=machine -hardware E:\ArduinoIDE\arduino-1.8.3\hardware -hardware C:\Users\per\AppData\Local\Arduino15\packages -hardware E:\Stuff\misc\electronics\arduino\hardware -tools E:\ArduinoIDE\arduino-1.8.3\tools-builder -tools E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -tools C:\Users\per\AppData\Local\Arduino15\packages -built-in-libraries E:\ArduinoIDE\arduino-1.8.3\libraries -libraries E:\Stuff\misc\electronics\arduino\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\per\AppData\Local\Temp\arduino_build_876900 -warnings=all -build-cache C:\Users\per\AppData\Local\Temp\arduino_cache_226063 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -verbose E:\Stuff\misc\electronics\arduino\temp\issue\issue.ino
Using board 'uno' from platform in folder: E:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr
Using core 'arduino' from platform in folder: E:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr
Detecting libraries used...
"E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\cores\arduino" "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\variants\standard" "C:\Users\per\AppData\Local\Temp\arduino_build_876900\sketch\issue.ino.cpp" -o "nul"
Generating function prototypes...
"E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\cores\arduino" "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\variants\standard" "C:\Users\per\AppData\Local\Temp\arduino_build_876900\sketch\issue.ino.cpp" -o "C:\Users\per\AppData\Local\Temp\arduino_build_876900\preproc\ctags_target_for_gcc_minus_e.cpp"
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0x54ef00, 0x12200008)
/home/jenkins/go/src/runtime/panic.go:500 +0x331
arduino.cc/builder.parseLineMarker(0x124d2d16, 0x3, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/filter_sketch_source.go:94 +0x178
arduino.cc/builder.(*FilterSketchSource).Run(0x125d00c8, 0x12260000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/filter_sketch_source.go:57 +0x2d2
arduino.cc/builder.(*ContainerAddPrototypes).Run(0x614ef0, 0x12260000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_add_prototypes.go:56 +0x3b8
arduino.cc/builder.runCommands(0x12260000, 0x1226fcc0, 0x22, 0x22, 0x1, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x1226fde4, 0x12260000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x12260000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
E:\ArduinoIDE\arduino-1.8.3\arduino-builder returned 2
Error compiling for board Arduino/Genuino Uno.
```
Output when run from command line with `-debug-level=10` option:
```
E:\ArduinoIDE\arduino-1.8.3\arduino-builder -compile -logger=machine -hardware E:\ArduinoIDE\arduino-1.8.3\hardware -hardware C:\Users\per\AppData\Local\Arduino15\packages -hardware E:\Stuff\misc\electronics\arduino\hardware -tools E:\ArduinoIDE\arduino-1.8.3\tools-builder -tools E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -tools C:\Users\per\AppData\Local\Arduino15\packages -built-in-libraries E:\ArduinoIDE\arduino-1.8.3\libraries -libraries E:\Stuff\misc\electronics\arduino\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\per\AppData\Local\Temp\arduino_build_876900 -warnings=all -build-cache C:\Users\per\AppData\Local\Temp\arduino_cache_226063 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -verbose -debug-level=10 E:\Stuff\misc\electronics\arduino\temp\issue\issue.ino
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 GenerateBuildPathIfMissing]
===info ||| Progress {0} ||| [0.00]
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 EnsureBuildPathExists]
===info ||| Progress {0} ||| [2.94]
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 ContainerSetupHardwareToolsLibsSketchAndProps]
===info ||| Progress {0} ||| [5.88]
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 AddAdditionalEntriesToContext]
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 FailIfBuildPathEqualsSketchPath]
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 HardwareLoader]
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 PlatformKeysRewriteLoader]
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 RewriteHardwareKeys]
===debug ||| Ts: {0} - Running: {1} ||| [1496966228 ToolsLoader]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 TargetBoardResolver]
===info ||| Using board '{0}' from platform in folder: {1} ||| [uno E%3A%5CArduinoIDE%5Carduino-1.8.3%5Chardware%5Carduino%5Cavr]
===info ||| Using core '{0}' from platform in folder: {1} ||| [arduino E%3A%5CArduinoIDE%5Carduino-1.8.3%5Chardware%5Carduino%5Cavr]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 AddBuildBoardPropertyIfMissing]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 LibrariesLoader]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 SketchLoader]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 SetupBuildProperties]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 LoadVIDPIDSpecificProperties]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 SetCustomBuildProperties]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 AddMissingBuildPropertiesFromParentPlatformTxtFiles]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 ContainerBuildOptions]
===info ||| Progress {0} ||| [8.82]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 CreateBuildOptionsMap]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 LoadPreviousBuildOptionsMap]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 WipeoutBuildPathIfBuildOptionsChanged]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 StoreBuildOptionsMap]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 WarnAboutPlatformRewrites]
===info ||| Progress {0} ||| [11.76]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 RecipeByPrefixSuffixRunner]
===info ||| Progress {0} ||| [14.71]
===debug ||| Looking for recipes like {0}*{1} ||| [recipe.hooks.prebuild .pattern]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 ContainerMergeCopySketchFiles]
===info ||| Progress {0} ||| [17.65]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 SketchSourceMerger]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 SketchSaver]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 AdditionalSketchFilesCopier]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 loggerAction]
===info ||| Progress {0} ||| [20.59]
===info ||| Detecting libraries used... ||| []
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 ContainerFindIncludes]
===info ||| Progress {0} ||| [23.53]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 GCCPreprocRunnerForDiscoveringIncludes]
"E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\cores\arduino" "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\variants\standard" "C:\Users\per\AppData\Local\Temp\arduino_build_876900\sketch\issue.ino.cpp" -o "nul"
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 IncludesFinderWithRegExp]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 FailIfImportedLibraryIsWrong]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 WarnAboutArchIncompatibleLibraries]
===info ||| Progress {0} ||| [26.47]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 loggerAction]
===info ||| Progress {0} ||| [29.41]
===info ||| Generating function prototypes... ||| []
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 ContainerAddPrototypes]
===info ||| Progress {0} ||| [32.35]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 GCCPreprocRunner]
"E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\cores\arduino" "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\variants\standard" "C:\Users\per\AppData\Local\Temp\arduino_build_876900\sketch\issue.ino.cpp" -o "C:\Users\per\AppData\Local\Temp\arduino_build_876900\preproc\ctags_target_for_gcc_minus_e.cpp"
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 ReadFileAndStoreInContext]
===debug ||| Ts: {0} - Running: {1} ||| [1496966235 FilterSketchSource]
panic: runtime error: index out of range
goroutine 1 [running]:
panic(0x54ef00, 0x122d0008)
/home/jenkins/go/src/runtime/panic.go:500 +0x331
arduino.cc/builder.parseLineMarker(0x12424cd6, 0x3, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/filter_sketch_source.go:94 +0x178
arduino.cc/builder.(*FilterSketchSource).Run(0x125d21b8, 0x122bc1e0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/filter_sketch_source.go:57 +0x2d2
arduino.cc/builder.(*ContainerAddPrototypes).Run(0x614ef0, 0x122bc1e0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_add_prototypes.go:56 +0x3b8
arduino.cc/builder.runCommands(0x122bc1e0, 0x124f7cc8, 0x22, 0x22, 0x1, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x124f7dec, 0x122bc1e0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x122bc1e0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
```
If the number is followed by a space then the above error does not appear but prototype generation does not occur:
```
Arduino: 1.8.3 (Windows 7), Board: "Arduino/Genuino Uno"
E:\ArduinoIDE\arduino-1.8.3\arduino-builder -dump-prefs -logger=machine -hardware E:\ArduinoIDE\arduino-1.8.3\hardware -hardware C:\Users\per\AppData\Local\Arduino15\packages -hardware E:\Stuff\misc\electronics\arduino\hardware -tools E:\ArduinoIDE\arduino-1.8.3\tools-builder -tools E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -tools C:\Users\per\AppData\Local\Arduino15\packages -built-in-libraries E:\ArduinoIDE\arduino-1.8.3\libraries -libraries E:\Stuff\misc\electronics\arduino\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\per\AppData\Local\Temp\arduino_build_876900 -warnings=all -build-cache C:\Users\per\AppData\Local\Temp\arduino_cache_226063 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -verbose C:\Users\per\AppData\Local\Temp\arduino_modified_sketch_905580\issue.ino
E:\ArduinoIDE\arduino-1.8.3\arduino-builder -compile -logger=machine -hardware E:\ArduinoIDE\arduino-1.8.3\hardware -hardware C:\Users\per\AppData\Local\Arduino15\packages -hardware E:\Stuff\misc\electronics\arduino\hardware -tools E:\ArduinoIDE\arduino-1.8.3\tools-builder -tools E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -tools C:\Users\per\AppData\Local\Arduino15\packages -built-in-libraries E:\ArduinoIDE\arduino-1.8.3\libraries -libraries E:\Stuff\misc\electronics\arduino\libraries -fqbn=arduino:avr:uno -ide-version=10803 -build-path C:\Users\per\AppData\Local\Temp\arduino_build_876900 -warnings=all -build-cache C:\Users\per\AppData\Local\Temp\arduino_cache_226063 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr -verbose C:\Users\per\AppData\Local\Temp\arduino_modified_sketch_905580\issue.ino
Using board 'uno' from platform in folder: E:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr
Using core 'arduino' from platform in folder: E:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr
Detecting libraries used...
"E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\cores\arduino" "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\variants\standard" "C:\Users\per\AppData\Local\Temp\arduino_build_876900\sketch\issue.ino.cpp" -o "nul"
Generating function prototypes...
"E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\cores\arduino" "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\variants\standard" "C:\Users\per\AppData\Local\Temp\arduino_build_876900\sketch\issue.ino.cpp" -o "C:\Users\per\AppData\Local\Temp\arduino_build_876900\preproc\ctags_target_for_gcc_minus_e.cpp"
"E:\ArduinoIDE\arduino-1.8.3\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\per\AppData\Local\Temp\arduino_build_876900\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"E:\ArduinoIDE\arduino-1.8.3\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\cores\arduino" "-IE:\ArduinoIDE\arduino-1.8.3\hardware\arduino\avr\variants\standard" "C:\Users\per\AppData\Local\Temp\arduino_build_876900\sketch\issue.ino.cpp" -o "C:\Users\per\AppData\Local\Temp\arduino_build_876900\sketch\issue.ino.cpp.o"
C:\Users\per\AppData\Local\Temp\arduino_modified_sketch_905580\issue.ino: In function 'void setup()':
issue:12: error: 'test' was not declared in this scope
exit status 1
'test' was not declared in this scope
```