GithubHelp home page GithubHelp logo

Comments (3)

mjs513 avatar mjs513 commented on August 21, 2024

Getting the same typr errors on an Arduino Mega 2560 using the provided example. Have no idea. Did you every get this resolved? I am running Arduino IDE 1.6.1.

from standardcplusplus.

zallesov avatar zallesov commented on August 21, 2024

Having the same kind of trouble with DUE, while for UNO it compiles just fine

My error message looks different.

Applications/Arduino.app/Contents/Java/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD -std=gnu++11 -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=10601 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON -DUSB_MANUFACTURER="Unknown" -DUSB_PRODUCT="Arduino Due" -I/Applications/Arduino.app/Contents/Java/hardware/arduino/sam/system/libsam -I/Applications/Arduino.app/Contents/Java/hardware/arduino/sam/system/CMSIS/CMSIS/Include/ -I/Applications/Arduino.app/Contents/Java/hardware/arduino/sam/system/CMSIS/Device/ATMEL/ -I/Applications/Arduino.app/Contents/Java/hardware/arduino/sam/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/sam/variants/arduino_due_x -I/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus -I/Users/alexanderzallesov1/Arduino/libraries/Adafruit_NeoPixel /var/folders/tx/31wk0fb91fj3jjtd7bq_xc0h0000gq/T/build2038817191093835371.tmp/magic_board.cpp -o /var/folders/tx/31wk0fb91fj3jjtd7bq_xc0h0000gq/T/build2038817191093835371.tmp/magic_board.cpp.o 
In file included from /var/folders/tx/31wk0fb91fj3jjtd7bq_xc0h0000gq/T/build2038817191093835371.tmp/color_gradient.h:3:0,
                 from /var/folders/tx/31wk0fb91fj3jjtd7bq_xc0h0000gq/T/build2038817191093835371.tmp/palette_gradient.h:2,
                 from /var/folders/tx/31wk0fb91fj3jjtd7bq_xc0h0000gq/T/build2038817191093835371.tmp/factory.h:5,
                 from magic_board.ino:4:
/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus/unwind-cxx.h:176:36: error: ISO C++ forbids casting to an array type '_Unwind_Exception_Class {aka char [8]}'
 = ((((((((_Unwind_Exception_Class) 'G' 
                                    ^
/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus/unwind-cxx.h:177:36: error: ISO C++ forbids casting to an array type '_Unwind_Exception_Class {aka char [8]}'
   << 8 | (_Unwind_Exception_Class) 'N')
                                    ^
/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus/unwind-cxx.h:178:35: error: ISO C++ forbids casting to an array type '_Unwind_Exception_Class {aka char [8]}'
  << 8 | (_Unwind_Exception_Class) 'U')
                                   ^
/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus/unwind-cxx.h:179:41: error: ISO C++ forbids casting to an array type '_Unwind_Exception_Class {aka char [8]}'
        << 8 | (_Unwind_Exception_Class) 'C')
                                         ^
/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus/unwind-cxx.h:180:40: error: ISO C++ forbids casting to an array type '_Unwind_Exception_Class {aka char [8]}'
       << 8 | (_Unwind_Exception_Class) 'C')
                                        ^
/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus/unwind-cxx.h:181:39: error: ISO C++ forbids casting to an array type '_Unwind_Exception_Class {aka char [8]}'
      << 8 | (_Unwind_Exception_Class) '+')
                                       ^
/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus/unwind-cxx.h:182:38: error: ISO C++ forbids casting to an array type '_Unwind_Exception_Class {aka char [8]}'
     << 8 | (_Unwind_Exception_Class) '+')
                                      ^
/Users/alexanderzallesov1/Arduino/libraries/StandardCplusplus/unwind-cxx.h:183:37: error: ISO C++ forbids casting to an array type '_Unwind_Exception_Class {aka char [8]}'
    << 8 | (_Unwind_Exception_Class) '\0');
                                     ^
Error compiling.

from standardcplusplus.

maniacbug avatar maniacbug commented on August 21, 2024

Should be fixed now in 41b4465. Working great on my Due.

from standardcplusplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.