-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IFS build inconsistencies (#2774)
This PR addresses a couple of issues which have arisen in testing. **Globally define _POSIX_C_SOURCE** Value set by Sming to 200809L making available functionality from the 2008 edition of the POSIX standard (IEEE Standard 1003.1-2008). See https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html. We should expect those features to be available generally. IFS library no longer needs to define this. **Fix IFS issues** - Fix README links - Build images using environment variables with regular Windows paths require 'fixing', e.g. "/C/dir/path" -> "C:/dir/path" - Remove `TimeStamp::String()` operator completely: it's ambiguous TimeStamp has implicit `time_t` cast, which is appropriate. Calling `String(timestamp)` could yield the numeric value or the string value. Instead, call `toString()` method. For example, when calling `Serial.println(timestamp);` GCC 10.2 calls `TimeStamp::String()`, whereas GCC 14.1 uses `String(time_t)`.
- Loading branch information
Showing
3 changed files
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule IFS
updated
25 files
+2 −2 | README.rst | |
+0 −2 | src/Arch/Host/FileSystem.cpp | |
+2 −5 | src/Arch/Host/include/IFS/Host/FileSystem.h | |
+2 −5 | src/Debug.cpp | |
+2 −5 | src/Error.cpp | |
+2 −5 | src/FWFS/ArchiveStream.cpp | |
+2 −5 | src/FWFS/FileSystem.cpp | |
+2 −5 | src/FWFS/Object.cpp | |
+2 −5 | src/GdbFileSystem.cpp | |
+2 −5 | src/HYFS/FileSystem.cpp | |
+21 −16 | src/HostUtil.cpp | |
+1 −1 | src/Stat.cpp | |
+2 −5 | src/include/IFS/Debug.h | |
+2 −5 | src/include/IFS/FWFS/ArchiveStream.h | |
+2 −5 | src/include/IFS/FWFS/BlockEncoder.h | |
+2 −6 | src/include/IFS/FWFS/FileSystem.h | |
+2 −5 | src/include/IFS/FWFS/Object.h | |
+2 −5 | src/include/IFS/FWFS/ObjectBuffer.h | |
+2 −5 | src/include/IFS/Gdb/FileSystem.h | |
+2 −6 | src/include/IFS/HYFS/FileSystem.h | |
+2 −5 | src/include/IFS/Host/Util.h | |
+0 −5 | src/include/IFS/TimeStamp.h | |
+1 −1 | test/modules/Extents.cpp | |
+1 −1 | tools/fsbuild/fsbuild.py | |
+7 −1 | tools/fsbuild/util.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters