bblanchon / ArduinoJson

📟 JSON library for Arduino and embedded C++. Simple and efficient.
https://arduinojson.org
MIT License
6.68k stars 1.11k forks source link

USE_LONG_LONG flag cause error on ameba D (asdk toolchain 1.0.1) and arduino-1.8.13 #1489

Closed edward17829991 closed 3 years ago

edward17829991 commented 3 years ago

Hi Benoit,

#define ARDUINOJSON_USE_LONG_LONG   true

#include <ArduinoJson.h>

StaticJsonDocument<200> list;

void setup() {
  Serial.begin(115200);

  list.to<JsonArray>();

  for (int i = 0; i < 16; ++i) {
    list.add(i);
  }

  serializeJson(list, Serial);
}

void loop() {
  // not used in this example
}

After some fiddling, the critical part is the first line "ARDUINOJSON_USE_LONG_LONG". The data append part doesn't affect much.

/home/cychen1782/arduino-1.8.13/arduino-builder -dump-prefs -logger=machine -hardware /home/cychen1782/arduino-1.8.13/hardware -hardware /home/cychen1782/.arduino15/packages -tools /home/cychen1782/arduino-1.8.13/tools-builder -tools /home/cychen1782/arduino-1.8.13/hardware/tools/avr -tools /home/cychen1782/.arduino15/packages -built-in-libraries /home/cychen1782/arduino-1.8.13/libraries -libraries /home/cychen1782/Arduino/libraries -fqbn=realtek:AmebaD:ameba_rtl8721d -vid-pid=1A86_7523 -ide-version=10813 -build-path /tmp/arduino_build_176337 -warnings=none -build-cache /tmp/arduino_cache_309379 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.ameba_d_asdk_toolchain.path=/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1 -prefs=runtime.tools.ameba_d_asdk_toolchain-1.0.1.path=/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1 -prefs=runtime.tools.ameba_d_tools.path=/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_tools/1.0.4 -prefs=runtime.tools.ameba_d_tools-1.0.4.path=/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_tools/1.0.4 -verbose /tmp/arduino_modified_sketch_152609/StringExample.ino
/home/cychen1782/arduino-1.8.13/arduino-builder -compile -logger=machine -hardware /home/cychen1782/arduino-1.8.13/hardware -hardware /home/cychen1782/.arduino15/packages -tools /home/cychen1782/arduino-1.8.13/tools-builder -tools /home/cychen1782/arduino-1.8.13/hardware/tools/avr -tools /home/cychen1782/.arduino15/packages -built-in-libraries /home/cychen1782/arduino-1.8.13/libraries -libraries /home/cychen1782/Arduino/libraries -fqbn=realtek:AmebaD:ameba_rtl8721d -vid-pid=1A86_7523 -ide-version=10813 -build-path /tmp/arduino_build_176337 -warnings=none -build-cache /tmp/arduino_cache_309379 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.ameba_d_asdk_toolchain.path=/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1 -prefs=runtime.tools.ameba_d_asdk_toolchain-1.0.1.path=/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1 -prefs=runtime.tools.ameba_d_tools.path=/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_tools/1.0.4 -prefs=runtime.tools.ameba_d_tools-1.0.4.path=/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_tools/1.0.4 -verbose /tmp/arduino_modified_sketch_152609/StringExample.ino
Using board 'ameba_rtl8721d' from platform in folder: /home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7
Using core 'arduino' from platform in folder: /home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7
Detecting libraries used...
/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-g++ -ffunction-sections -march=armv8-m.main+dsp -mthumb -mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16 -g -gdwarf-3 -nostartfiles -nodefaultlibs -nostdlib -O2 -D__FPU_PRESENT -gdwarf-3 -fstack-usage -fdata-sections -nostartfiles -nostdlib -Wall -Wpointer-arith -Wundef -Wno-write-strings -Wno-maybe-uninitialized -c -Wextra -w -x c++ -E -CC -mcpu=cortex-m33 -DF_CPU=200000000L -DARDUINO=10813 -DARDUINO_AMEBA -DARDUINO_ARCH_AMEBAD -mthumb -DBOARD_RTL8721D -DUSB_VID= -DUSB_PID= -DUSBCON "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"RTL8722DM/RTL8722CSM\"" -Wl,--start-group -I. -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/project/realtek_amebaD_va0_example/inc/inc_hp -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/portable/GCC/ARM_CM33/non_secure -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/os_dep/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/misc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/network/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/at_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/platform -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/crypto -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/application -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/media/framework -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/example -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/example/wlan_fast_connect -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/api -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/hal -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/hal_ext -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/targets/hal/rtl8721d -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek/freertos -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include/lwip -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/test -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/cmsis -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/fwlib -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/misc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/osdep -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hci -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/ssl_ram_map/rom -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/utilities -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/video/v4l2/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/media/rtp_codec -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/fatfs -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/fatfs/r0.10c/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/ftl -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/sdio/realtek/sdio_host/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/audio -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/i2s -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/application/xmodem -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/mDNS -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/fwlib/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/swlib/string -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/app/monitor/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/app/xmodem -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/lib -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/common/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/example/bt_config -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/app -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/client -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/server -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/os -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/platform -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/stack -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/app/ble_central_client -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/mcu/module/data_uart_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/ir/protocol -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/core/option -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal/phydm -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -Wl,--end-group -DARDUINO_SDK -DCONFIG_PLATFORM_8721D -DCONFIG_USE_MBEDTLS_ROM_ALG -DCONFIG_FUNCION_O0_OPTIMIZE -DDM_ODM_SUPPORT_TYPE=32 -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/cores/arduino -std=c++11 -fno-use-cxa-atexit -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/cores/arduino -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/variants/rtl8721d /tmp/arduino_build_176337/sketch/StringExample.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for ArduinoJson.h: [ArduinoJson@6.17.2]
ResolveLibrary(ArduinoJson.h)
  -> candidates: [ArduinoJson@6.17.2]
/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-g++ -ffunction-sections -march=armv8-m.main+dsp -mthumb -mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16 -g -gdwarf-3 -nostartfiles -nodefaultlibs -nostdlib -O2 -D__FPU_PRESENT -gdwarf-3 -fstack-usage -fdata-sections -nostartfiles -nostdlib -Wall -Wpointer-arith -Wundef -Wno-write-strings -Wno-maybe-uninitialized -c -Wextra -w -x c++ -E -CC -mcpu=cortex-m33 -DF_CPU=200000000L -DARDUINO=10813 -DARDUINO_AMEBA -DARDUINO_ARCH_AMEBAD -mthumb -DBOARD_RTL8721D -DUSB_VID= -DUSB_PID= -DUSBCON "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"RTL8722DM/RTL8722CSM\"" -Wl,--start-group -I. -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/project/realtek_amebaD_va0_example/inc/inc_hp -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/portable/GCC/ARM_CM33/non_secure -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/os_dep/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/misc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/network/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/at_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/platform -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/crypto -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/application -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/media/framework -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/example -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/example/wlan_fast_connect -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/api -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/hal -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/hal_ext -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/targets/hal/rtl8721d -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek/freertos -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include/lwip -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/test -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/cmsis -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/fwlib -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/misc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/osdep -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hci -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/ssl_ram_map/rom -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/utilities -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/video/v4l2/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/media/rtp_codec -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/fatfs -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/fatfs/r0.10c/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/ftl -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/sdio/realtek/sdio_host/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/audio -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/i2s -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/application/xmodem -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/mDNS -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/fwlib/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/swlib/string -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/app/monitor/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/app/xmodem -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/lib -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/common/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/example/bt_config -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/app -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/client -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/server -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/os -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/platform -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/stack -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/app/ble_central_client -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/mcu/module/data_uart_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/ir/protocol -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/core/option -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal/phydm -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -Wl,--end-group -DARDUINO_SDK -DCONFIG_PLATFORM_8721D -DCONFIG_USE_MBEDTLS_ROM_ALG -DCONFIG_FUNCION_O0_OPTIMIZE -DDM_ODM_SUPPORT_TYPE=32 -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/cores/arduino -std=c++11 -fno-use-cxa-atexit -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/cores/arduino -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/variants/rtl8721d -I/home/cychen1782/Arduino/libraries/ArduinoJson/src /tmp/arduino_build_176337/sketch/StringExample.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Error while detecting libraries included by /tmp/arduino_build_176337/sketch/StringExample.ino.cpp
Generating function prototypes...
/home/cychen1782/.arduino15/packages/realtek/tools/ameba_d_asdk_toolchain/1.0.1/bin/arm-none-eabi-g++ -ffunction-sections -march=armv8-m.main+dsp -mthumb -mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16 -g -gdwarf-3 -nostartfiles -nodefaultlibs -nostdlib -O2 -D__FPU_PRESENT -gdwarf-3 -fstack-usage -fdata-sections -nostartfiles -nostdlib -Wall -Wpointer-arith -Wundef -Wno-write-strings -Wno-maybe-uninitialized -c -Wextra -w -x c++ -E -CC -mcpu=cortex-m33 -DF_CPU=200000000L -DARDUINO=10813 -DARDUINO_AMEBA -DARDUINO_ARCH_AMEBAD -mthumb -DBOARD_RTL8721D -DUSB_VID= -DUSB_PID= -DUSBCON "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"RTL8722DM/RTL8722CSM\"" -Wl,--start-group -I. -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/project/realtek_amebaD_va0_example/inc/inc_hp -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/freertos/freertos_v10.2.0/Source/portable/GCC/ARM_CM33/non_secure -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/os/os_dep/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/misc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/network/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/at_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/platform -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/crypto -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/application -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/media/framework -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/example -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/example/wlan_fast_connect -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/api -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/hal -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/hal_ext -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/mbed/targets/hal/rtl8721d -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek/freertos -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/src/include/lwip -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/lwip/lwip_v2.0.2/port/realtek -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/test -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/cmsis -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/fwlib -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/misc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/osdep -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hci -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/ssl_ram_map/rom -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/utilities -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/video/v4l2/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/media/rtp_codec -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/fatfs -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/fatfs/r0.10c/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/file_system/ftl -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/sdio/realtek/sdio_host/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/audio -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/i2s -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/application/xmodem -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/mDNS -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/fwlib/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/swlib/string -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/app/monitor/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/soc/realtek/amebad/app/xmodem -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/lib -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/vendor_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/board/common/inc -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/example/bt_config -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/app -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/client -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/profile/server -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/os -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/platform -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/inc/stack -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/app/ble_central_client -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/bluetooth/realtek/sdk/src/mcu/module/data_uart_cmd -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/ir/protocol -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/core/option -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/drivers/wlan/realtek/src/hal/phydm -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/system/libameba/sdk/component/common/network/ssl/mbedtls-2.4.0/include -Wl,--end-group -DARDUINO_SDK -DCONFIG_PLATFORM_8721D -DCONFIG_USE_MBEDTLS_ROM_ALG -DCONFIG_FUNCION_O0_OPTIMIZE -DDM_ODM_SUPPORT_TYPE=32 -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/cores/arduino -std=c++11 -fno-use-cxa-atexit -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/cores/arduino -I/home/cychen1782/.arduino15/packages/realtek/hardware/AmebaD/3.0.7/variants/rtl8721d -I/home/cychen1782/Arduino/libraries/ArduinoJson/src /tmp/arduino_build_176337/sketch/StringExample.ino.cpp -o /tmp/arduino_build_176337/preproc/ctags_target_for_gcc_minus_e.cpp -DARDUINO_LIB_DISCOVERY_PHASE
In file included from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Namespace.hpp:8:0,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Collection/CollectionData.hpp:7,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayFunctions.hpp:7,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:7,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:17,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
                 from /tmp/arduino_modified_sketch_152609/StringExample.ino:4:
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Collection/CollectionData.hpp:12:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayFunctions.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/Alignment.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/mpl/max.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/integer.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/conditional.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/enable_if.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/integral_constant.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_array.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_base_of.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/declval.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_class.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_const.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_convertible.hpp:20:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_floating_point.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_same.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_integral.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_enum.hpp:13:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_pointer.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_signed.hpp:8:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/is_unsigned.hpp:8:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/type_identity.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/make_unsigned.hpp:8:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/remove_const.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/type_traits/remove_reference.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/limits.hpp:14:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/StoragePolicy.hpp:7:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/Float.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/Integer.hpp:12:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantContent.hpp:13:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantSlot.hpp:13:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/MemoryPool.hpp:16:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/safe_strcmp.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/IsString.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/ConstRamStringAdapter.hpp:14:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/RamStringAdapter.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/RamStringAdapter.hpp:21:11: error: pasting ")" and "1" does not give a valid preprocessing token
   typedef ARDUINOJSON_NAMESPACE::storage_policies::store_by_copy storage_policy;
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/SizedRamStringAdapter.hpp:13:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/ArduinoStringAdapter.hpp:13:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Misc/SerializedValue.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/math.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/alias_cast.hpp:13:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/FloatTraits.hpp:16:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/convertNumber.hpp:22:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantData.hpp:23:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/SlotFunctions.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Misc/Visitable.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/IsWriteableString.hpp:18:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantAs.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantFunctions.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/arithmeticCompare.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantTag.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantOperators.hpp:14:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayShortcuts.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Object/ObjectShortcuts.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantShortcuts.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantRef.hpp:21:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayIterator.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:16:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Object/ObjectFunctions.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Strings/String.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Object/Pair.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Object/ObjectIterator.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Object/ObjectRef.hpp:15:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantTo.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ElementProxy.hpp:17:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Object/MemberProxy.hpp:19:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Document/JsonDocument.hpp:14:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Document/BasicJsonDocument.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Document/DynamicJsonDocument.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Document/StaticJsonDocument.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayImpl.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/Utilities.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Collection/CollectionImpl.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Object/ObjectImpl.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantAsImpl.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
In file included from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Namespace.hpp:8:0,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Collection/CollectionData.hpp:7,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayFunctions.hpp:7,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:7,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:17,
                 from /home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
                 from /tmp/arduino_modified_sketch_152609/StringExample.ino:4:
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantCompare.hpp:13:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/ctype.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/parseNumber.hpp:16:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantImpl.hpp:16:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/DeserializationError.hpp:15:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/Filter.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/NestingLimit.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/Reader.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/Readers/IteratorReader.hpp:7:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/Readers/RamReader.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/Readers/VariantReader.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/Readers/ArduinoStreamReader.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/Readers/ArduinoStringReader.hpp:7:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/StringStorage/StringCopier.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/StringStorage/StringMover.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/StringStorage/StringStorage.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Deserialization/deserialize.hpp:13:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Json/EscapeSequence.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Json/Latch.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Json/Utf16.hpp:21:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Json/Utf8.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Json/JsonDeserializer.hpp:18:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Numbers/FloatParts.hpp:11:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Serialization/CountingDecorator.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Json/TextFormatter.hpp:17:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Serialization/Writers/DummyWriter.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Serialization/measure.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Serialization/Writer.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Serialization/Writers/StaticStringWriter.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Serialization/Writers/ArduinoStringWriter.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Serialization/Writers/PrintWriter.hpp:7:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Serialization/serialize.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Json/JsonSerializer.hpp:12:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Json/PrettyJsonSerializer.hpp:12:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/utility.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/MsgPack/endianess.hpp:10:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/MsgPack/ieee754.hpp:9:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/MsgPack/MsgPackDeserializer.hpp:14:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson/MsgPack/MsgPackSerializer.hpp:15:11: error: pasting ")" and "1" does not give a valid preprocessing token
 namespace ARDUINOJSON_NAMESPACE {
           ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:43:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::ArrayConstRef JsonArrayConst;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:44:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::ArrayRef JsonArray;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:45:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::Float JsonFloat;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:46:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::Integer JsonInteger;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:47:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::ObjectConstRef JsonObjectConst;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:48:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::ObjectRef JsonObject;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:49:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::Pair JsonPair;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:50:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::PairConst JsonPairConst;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:51:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::String JsonString;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:52:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::UInt JsonUInt;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:53:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::VariantConstRef JsonVariantConst;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:54:9: error: pasting ")" and "1" does not give a valid preprocessing token
 typedef ARDUINOJSON_NAMESPACE::VariantRef JsonVariant;
         ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:55:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::BasicJsonDocument;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:56:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::copyArray;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:57:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::DeserializationError;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:58:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::deserializeJson;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:59:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::deserializeMsgPack;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:60:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::DynamicJsonDocument;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:61:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::JsonDocument;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:62:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::measureJson;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:63:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::serialized;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:64:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::serializeJson;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:65:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::serializeJsonPretty;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:66:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::serializeMsgPack;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:67:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::StaticJsonDocument;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:70:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::Filter;
       ^
/home/cychen1782/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:71:7: error: pasting ")" and "1" does not give a valid preprocessing token
 using ARDUINOJSON_NAMESPACE::NestingLimit;
       ^
Using library ArduinoJson at version 6.17.2 in folder: /home/cychen1782/Arduino/libraries/ArduinoJson 
exit status 1
Error compiling for board RTL8722DM/RTL8722CSM.

Thanks in advance.

Best, Edward

bblanchon commented 3 years ago

Hi @edward17829991,

For ARDUINOJSON_USE_LONG_LONG, only 0 and 1 are supported. Any other value, like false or true will cause a compilation error. I added this information to the documentation.

Best regards, Benoit

edward17829991 commented 3 years ago

Oh, really.

I used to misuse it with true and being okay. Now I learned it.

I changed true to 1 and everything compile smoothly, thanks a lot.

Best regards, Edward

On Wed, Feb 3, 2021, 10:23 PM Benoît Blanchon notifications@github.com wrote:

Hi @edward17829991 https://github.com/edward17829991,

For ARDUINOJSON_USE_LONG_LONG https://arduinojson.org/v6/api/config/use_long_long/, only 0 and 1 are supported. Any other value, like false or true will cause a compilation error. I added this information to the documentation.

Best regards, Benoit

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bblanchon/ArduinoJson/issues/1489#issuecomment-772546910, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6JS2RRLD4NVZCFYFY3XTLS5FL5ZANCNFSM4W6XKOLA .