Skip to content

Instantly share code, notes, and snippets.

@jasonkajita
Created October 3, 2012 17:10
Show Gist options
  • Select an option

  • Save jasonkajita/3828370 to your computer and use it in GitHub Desktop.

Select an option

Save jasonkajita/3828370 to your computer and use it in GitHub Desktop.
Including <new> in XC32
#include <new>
int main (void)
{
}
-------------------------------------
CLEAN SUCCESSFUL (total time: 55ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/Users/jkajita/work/tests/Cpp-test-1.X'
make -f nbproject/Makefile-default.mk dist/default/production/Cpp-test-1.X.production.hex
make[2]: Entering directory `/Users/jkajita/work/tests/Cpp-test-1.X'
"/Applications/microchip/xc32/v1.10/bin/xc32-g++" -g -x c++ -c -mprocessor=32MX795F512L -frtti -fexceptions -fno-check-new -fenforce-eh-specs -MMD -MF build/default/production/testme-1.o.d -o build/default/production/testme-1.o testme-1.cpp
"/Applications/microchip/xc32/v1.10/bin/xc32-g++" -mprocessor=32MX795F512L -o dist/default/production/Cpp-test-1.X.production.elf build/default/production/testme-1.o -Wl,--defsym=__MPLAB_BUILD=1
"/Applications/microchip/xc32/v1.10/bin"/xc32-bin2hex dist/default/production/Cpp-test-1.X.production.elf
make[2]: Leaving directory `/Users/jkajita/work/tests/Cpp-test-1.X'
make[1]: Leaving directory `/Users/jkajita/work/tests/Cpp-test-1.X'
BUILD SUCCESSFUL (total time: 160ms)
Loading code from /Users/jkajita/work/tests/Cpp-test-1.X/dist/default/production/Cpp-test-1.X.production.hex...
Loading symbols from /Users/jkajita/work/tests/Cpp-test-1.X/dist/default/production/Cpp-test-1.X.production.elf...
Configuration Bits: address 0x1FC02FF0: USERID = 65535 does not match any valid value in the device database. Setting it to the default value.
Loading completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment