If this is a common problem, please accept my apologies, but I have searched the forum and haven't found any previous posts on the topic.
For the last couple of years I have been successfully compiling both the included examples and my own sketches (eventually), but this morning no sketch will compile, not even 'Blink'. This is the error message:
Arduino: 1.6.6 (Mac OS X), Board: "Arduino/Genuino Uno"
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -hardware "/Users/harrythomas/Library/Arduino15/packages" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/harrythomas/Library/Arduino15/packages" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/harrythomas/Documents/Arduino/libraries" -fqbn=arduino:avr:uno -ide-version=10606 -build-path "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/build276ae289409593500bc5c9a9c0aef537.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/untitled306380889.tmp/sketch_mar20a/sketch_mar20a.ino"
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -hardware "/Users/harrythomas/Library/Arduino15/packages" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/harrythomas/Library/Arduino15/packages" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/harrythomas/Documents/Arduino/libraries" -fqbn=arduino:avr:uno -ide-version=10606 -build-path "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/build276ae289409593500bc5c9a9c0aef537.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/untitled306380889.tmp/sketch_mar20a/sketch_mar20a.ino"
"/Applications/Arduino.app/Contents/Java/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++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/cores/arduino" "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/variants/standard" "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/build276ae289409593500bc5c9a9c0aef537.tmp/sketch/sketch_mar20a.ino.cpp"
"/Applications/Arduino.app/Contents/Java/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++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/cores/arduino" "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/variants/standard" "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/build276ae289409593500bc5c9a9c0aef537.tmp/sketch/sketch_mar20a.ino.cpp"
"/Applications/Arduino.app/Contents/Java/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++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/cores/arduino" "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/variants/standard" "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/build276ae289409593500bc5c9a9c0aef537.tmp/sketch/sketch_mar20a.ino.cpp"
"/Applications/Arduino.app/Contents/Java/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++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/cores/arduino" "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/variants/standard" "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/build276ae289409593500bc5c9a9c0aef537.tmp/sketch/sketch_mar20a.ino.cpp"
"/Applications/Arduino.app/Contents/Java/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++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/cores/arduino" "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/variants/standard" "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/build276ae289409593500bc5c9a9c0aef537.tmp/sketch/sketch_mar20a.ino.cpp"
"/Applications/Arduino.app/Contents/Java/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=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/cores/arduino" "-I/Users/harrythomas/Library/Arduino15/packages/arduino/hardware/avr/1.6.10/variants/standard" "/var/folders/dz/wt2wdx0s7wv0jl5q8nx8szlw0000gn/T/build276ae289409593500bc5c9a9c0aef537.tmp/sketch/sketch_mar20a.ino.cpp" -o ""
avr-g++: error: missing filename after '-o'
exit status 1
Error compiling.
The problem will probably seem elementary to anyone well versed in what happens under the bonnet, but I am totally confused, so any help will be gratefully received.
I am running Arduino 1..6.6 on an iMac (mid 2011) OS10.11.3
