Compilererror if project name contain a dot

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
A.Harrenberg
Posts: 201
Joined: 05 Sep 2016 22:27

Compilererror if project name contain a dot

Post by A.Harrenberg »

Hi,

I just discovered a strange behavior of the arduino environment. If the name of your sketch contains a dot a compiler error is thrown...

My sketch was named Multisensor_ah2, I made some modifications and wanted to save it as version 2.1 and named it Multisensor_ah2.1. The resulting error code is not very helpfull and it took me half an hour to figure out what was going on as I suspected my changes caused the error...

I don't know if the problem comes from the base arduino 1.65 environment or the Z-Uno add-on...

Regards,
Andreas.

Code: Select all

Arduino: 1.6.5 (Windows 8.1), Platine: "Z-Wave>ME Z-Uno, Europe, Disabled, Disabled"

Verwende die Bibliothek ZUNO_DHTlib im Ordner: C:\Users\andre\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\2.0.6\libraries\ZUNO_DHTlib (legacy)

Verwende die Bibliothek ZUNO_BMP180 im Ordner: C:\Users\andre\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\2.0.6\libraries\ZUNO_BMP180 (legacy)

Verwende die Bibliothek ZUNO_DS18B20 im Ordner: C:\Users\andre\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\2.0.6\libraries\ZUNO_DS18B20 (legacy)

Verwende die Bibliothek ZUNO_OLED_I2C im Ordner: C:\Users\andre\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\2.0.6\libraries\ZUNO_OLED_I2C (legacy)



C:\Users\andre\AppData\Roaming\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.10/zuno_toolchain/compiler build C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp/Multisensor_ah2.1.cpp -r C:\Users\andre\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\2.0.6 


	************* Building Arduino Sketch *************
	C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp/Multisensor_ah2.1.cpp
	***************************************************

Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HardwareSerial.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HardwareSerial_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HLCore.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HLCore_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DHT.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DHT_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180_sdcpp_.cpp ...
ZUNO_BMP180_sdcpp_.cpp:516:1:warning:control may reach end of non-void function
ZUNO_BMP180_sdcpp_.cpp:519:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:520:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:521:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:522:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:523:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:524:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:526:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:527:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:529:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:531:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:532:16:warning:conversion from string literal to 'char *' is deprecated
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OneWire.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OneWire_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DS18B20.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DS18B20_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OLED_I2C.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OLED_I2C_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1.cpp with SDCPP... 
Multisensor_ah2.1.ino:33:1: warning: "SCL_PIN" redefined
In file included from Multisensor_ah2.1.ino:12:
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\/Wire.h:30:1: error: this is the location of the previous definition
Multisensor_ah2.1.ino:34:1: warning: "SDA_PIN" redefined
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\/Wire.h:31:1: error: this is the location of the previous definition
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1_sdcpp_.cpp ...
Multisensor_ah2.1.ino:128:14:warning:conversion from string literal to 'char *' is deprecated
Multisensor_ah2.1.ino:132:14:warning:conversion from string literal to 'char *' is deprecated
Multisensor_ah2.1.ino:134:16:warning:conversion from string literal to 'char *' is deprecated
Multisensor_ah2.1.ino:136:14:warning:conversion from string literal to 'char *' is deprecated
Multisensor_ah2.1.ino:138:16:warning:conversion from string literal to 'char *' is deprecated
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HardwareSerial.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HardwareSerial_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HLCore.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HLCore_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DHT.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DHT_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180_sdcpp_.cpp ...
ZUNO_BMP180_sdcpp_.cpp:516:1:warning:control may reach end of non-void function
ZUNO_BMP180_sdcpp_.cpp:519:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:520:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:521:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:522:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:523:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:524:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:526:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:527:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:529:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:531:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:532:16:warning:conversion from string literal to 'char *' is deprecated
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OneWire.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OneWire_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DS18B20.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DS18B20_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OLED_I2C.cpp with SDCPP... 
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OLED_I2C_sdcpp_.cpp ...
Preprocessing file: C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1.cpp with SDCPP... 
Multisensor_ah2.1.ino:33:1: warning: "SCL_PIN" redefined
In file included from Multisensor_ah2.1.ino:12:
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\/Wire.h:30:1: error: this is the location of the previous definition
Multisensor_ah2.1.ino:34:1: warning: "SDA_PIN" redefined
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\/Wire.h:31:1: error: this is the location of the previous definition
Compiling C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1_sdcpp_.cpp ...
Multisensor_ah2.1.ino:128:14:warning:conversion from string literal to 'char *' is deprecated
Multisensor_ah2.1.ino:132:14:warning:conversion from string literal to 'char *' is deprecated
Multisensor_ah2.1.ino:134:16:warning:conversion from string literal to 'char *' is deprecated
Multisensor_ah2.1.ino:136:14:warning:conversion from string literal to 'char *' is deprecated
Multisensor_ah2.1.ino:138:16:warning:conversion from string literal to 'char *' is deprecatedCompiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\LLCore_arduino.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\LLCore_arduino.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "LLCore_arduino.rel" "LLCore_arduino".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\LLCore_arduino.c:25: warning 85: in function NOPS unreferenced function argument : 'i'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\LLCore_arduino.c:208: warning 85: in function delayMicroseconds unreferenced function argument : 'value'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "Print_ucxx.rel" "Print_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_ucxx.c:160: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_ucxx.c:161: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_ucxx.c:326: warning 85: in function __cxx__Print__method__write0105 unreferenced local variable : 'cxx_sloc'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_ucxx.c:392: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Print_ucxx.c:401: warning 93: type 'double' not supported assuming 'float'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "Stream_ucxx.rel" "Stream_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream_ucxx.c:160: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream_ucxx.c:161: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Stream_ucxx.c:242: warning 85: in function __cxx__Stream__method__read00 unreferenced local variable : 'cxx_sloc'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HardwareSerial_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HardwareSerial_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "HardwareSerial_ucxx.rel" "HardwareSerial_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HardwareSerial_ucxx.c:160: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HardwareSerial_ucxx.c:161: warning 93: type 'double' not supported assuming 'float'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HLCore_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HLCore_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "HLCore_ucxx.rel" "HLCore_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HLCore_ucxx.c:173: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\HLCore_ucxx.c:174: warning 93: type 'double' not supported assuming 'float'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DHT_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DHT_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "ZUNO_DHT_ucxx.rel" "ZUNO_DHT_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DHT_ucxx.c:173: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DHT_ucxx.c:174: warning 93: type 'double' not supported assuming 'float'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "Wire_ucxx.rel" "Wire_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire_ucxx.c:173: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire_ucxx.c:174: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\Wire_ucxx.c:890: warning 85: in function __cxx__TwoWire__method__endTransmission0105 unreferenced function argument : 'stop'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "ZUNO_BMP180_ucxx.rel" "ZUNO_BMP180_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180_ucxx.c:160: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180_ucxx.c:161: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_BMP180_ucxx.c:414: warning 59: function '__cxx__ZUNO_BMP180__method__begin0105' must return value
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OneWire_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OneWire_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "ZUNO_OneWire_ucxx.rel" "ZUNO_OneWire_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OneWire_ucxx.c:173: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OneWire_ucxx.c:174: warning 93: type 'double' not supported assuming 'float'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DS18B20_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DS18B20_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "ZUNO_DS18B20_ucxx.rel" "ZUNO_DS18B20_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DS18B20_ucxx.c:160: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_DS18B20_ucxx.c:161: warning 93: type 'double' not supported assuming 'float'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OLED_I2C_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OLED_I2C_ucxx.c" 
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "ZUNO_OLED_I2C_ucxx.rel" "ZUNO_OLED_I2C_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OLED_I2C_ucxx.c:159: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\ZUNO_OLED_I2C_ucxx.c:160: warning 93: type 'double' not supported assuming 'float'
Compiling file "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\andre\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include"  "C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1_ucxx.c" 
sdcc: Generating code...
sdcpp.exe: fatal error: when writing output to : Broken pipe
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1_ucxx.c:159: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1_ucxx.c:160: warning 93: type 'double' not supported assuming 'float'
C:\Users\andre\AppData\Local\Temp\build3715662809022207532.tmp\_Multisensor_ah2.1_ucxx.c:515: syntax error: token -> '.1' ; column 38
Error. SDCC returned: 1

Fehler beim Kompilieren.
fhem.de - ZWave development support

carlo
Posts: 9
Joined: 14 Oct 2016 12:58

Re: Compilererror if project name contain a dot

Post by carlo »

I have a similar issue probably with same root cause. This is definitely not an arduino issue since I only got this problem after z-uno install. I get compiler error because it cannot handle a path name containing a dot ".". In my case my user name is "C. Battistella" which is part of the path name pointing to my arduino sketch directory. After installing and running under the "guest" user account, this issue is gone. This seems to be an issue in the z-uno macro or preprocessor.

carlo
Posts: 9
Joined: 14 Oct 2016 12:58

Re: Compilererror if project name contain a dot

Post by carlo »

Not sure if it is the dot or the space in the file path. Space also seems to be an issue I read in this forum. ..

A.Harrenberg
Posts: 201
Joined: 05 Sep 2016 22:27

Re: Compilererror if project name contain a dot

Post by A.Harrenberg »

But at least in my case there is no space and the error at the end of the compiler output seems to indicate that after the dot something else is expeceted:

syntax error: token -> '.1' ; column 38

Let's wait for an answer...
fhem.de - ZWave development support

User avatar
PoltoS
Posts: 5611
Joined: 26 Jan 2011 19:36

Re: Compilererror if project name contain a dot

Post by PoltoS »

Confirmed, we will fix it in the next release

Post Reply