You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Folks,
I am now able to use the library on the Galileo and Edison IDE with no problems, however I found a new conflict using it with the <SD.h> library.
see the below error messages.
Looks that is a conflict with: redefinition of 'void* operator new(size_t, void*)
Thanks for the help.
AC/.
Arduino: 1.5.3-Intel.1.0.4 (Mac OS X), Board: "Intel® Galileo"
In file included from /Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/../include/ArduinoJson/Internals/List.hpp:12:0,
from /Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/../include/ArduinoJson/JsonArray.hpp:10,
from /Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/ArduinoJson.h:8,
from /Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/ArduinoJson.h:7,
from openweathermap.ino:5:
/Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/../include/ArduinoJson/Internals/PlacementNew.hpp: In function 'void* operator new(size_t, void_)':
/Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/../include/ArduinoJson/Internals/PlacementNew.hpp:13:14: error: redefinition of 'void_ operator new(size_t, void_)'
In file included from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/ext/new_allocator.h:34:0,
from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/i586-poky-linux-uclibc/bits/c++allocator.h:34,
from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/bits/allocator.h:48,
from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/string:43,
from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/arduino/x86/libraries/SD/SD.h:24,
from GALWeather.ino:22:
/Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/new:111:14: error: 'void_ operator new(std::size_t, void*)' previously defined here
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
The text was updated successfully, but these errors were encountered:
After studying the issue previously reported about the "new" operator, I discovered that is the same problem, applied the solution and it works perfectly.
Thanks for the great work.
AC/.
Folks,
I am now able to use the library on the Galileo and Edison IDE with no problems, however I found a new conflict using it with the <SD.h> library.
see the below error messages.
Looks that is a conflict with: redefinition of 'void* operator new(size_t, void*)
Thanks for the help.
AC/.
Arduino: 1.5.3-Intel.1.0.4 (Mac OS X), Board: "Intel® Galileo"
In file included from /Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/../include/ArduinoJson/Internals/List.hpp:12:0,
from /Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/../include/ArduinoJson/JsonArray.hpp:10,
from /Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/ArduinoJson.h:8,
from /Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/ArduinoJson.h:7,
from openweathermap.ino:5:
/Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/../include/ArduinoJson/Internals/PlacementNew.hpp: In function 'void* operator new(size_t, void_)':
/Users/acasado/Documents/Arduino/libraries/ArduinoJson2master/include/../include/ArduinoJson/Internals/PlacementNew.hpp:13:14: error: redefinition of 'void_ operator new(size_t, void_)'
In file included from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/ext/new_allocator.h:34:0,
from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/i586-poky-linux-uclibc/bits/c++allocator.h:34,
from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/bits/allocator.h:48,
from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/string:43,
from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/arduino/x86/libraries/SD/SD.h:24,
from GALWeather.ino:22:
/Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/x86/i586-poky-linux-uclibc/usr/include/c++/new:111:14: error: 'void_ operator new(std::size_t, void*)' previously defined here
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
The text was updated successfully, but these errors were encountered: