Indeed this message is recurrent and confusing:
Code:
T:\arduino-1.8.12\hardware\teensy\avr\libraries\Time/time.h:1:2: warning: #warning "Please include TimeLib.h, not Time.h. Future versions will remove Time.h" [-Wcpp]
#warning "Please include TimeLib.h, not Time.h. Future versions will remove Time.h"
When the header has this code:
Code:
//#include <time.h>
#include <TimeLib.h>
... this is in the new dataLogger library from @MBorgerson
it seems like it chains in from somewhere else a few layers up:
Code:
"T:\\arduino-1.8.12\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=152 -DARDUINO=10812 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IT:\\TEMP\\arduino_build_989179/pch" "-IT:\\arduino-1.8.12\\hardware\\teensy\\avr\\cores\\teensy4" "-IT:\\tCode\\libraries\\DataLogger" "-IT:\\tCode\\libraries\\SdFat\\src" "-IT:\\arduino-1.8.12\\hardware\\teensy\\avr\\libraries\\SPI" "-IT:\\arduino-1.8.12\\hardware\\teensy\\avr\\libraries\\Time" "T:\\TEMP\\arduino_build_989179\\sketch\\Fast_LoggerT4_1.ino.cpp" -o "T:\\TEMP\\arduino_build_989179\\sketch\\Fast_LoggerT4_1.ino.cpp.o"
In file included from t:\arduino-1.8.12\hardware\tools\arm\arm-none-eabi\include\sys\stat.h:9:0,
from t:\arduino-1.8.12\hardware\tools\arm\arm-none-eabi\include\sys\_default_fcntl.h:188,
from t:\arduino-1.8.12\hardware\tools\arm\arm-none-eabi\include\sys\fcntl.h:4,
from t:\arduino-1.8.12\hardware\tools\arm\arm-none-eabi\include\fcntl.h:1,
from t:\tcode\libraries\sdfat\src\common\fsapiconstants.h:30,
from T:\tCode\libraries\SdFat\src/ExFatLib/ExFatFile.h:36,
from T:\tCode\libraries\SdFat\src/ExFatLib/ExFatVolume.h:28,
from T:\tCode\libraries\SdFat\src/ExFatLib/ExFatLib.h:27,
from T:\tCode\libraries\SdFat\src/SdFat.h:33,
from T:\tCode\libraries\DataLogger/DataLogger.h:12,
from T:\tCode\sd\Fast_LoggerT4_1\Fast_LoggerT4_1.ino:1: