Skip to contentSkip to conversation

Unset (comment out) NO_C99_FORMAT on Cygwin.

PATCH In review Ramsay Jones 1 participant 1 message Jun 15, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 2/6 Unset (comment out) NO_C99_FORMAT on Cygwin.

This should only be set based on the capability of your compiler/library to support c99 format specifiers. In this case the version of gcc/newlib and indirectly the version of Cygwin. It should probably only be set in your config.mak file.

---

Erm, given what I said above, I should have deleted this line, rather than commenting it out! <blush>

[Note: my version info: gcc 3.4.4, newlib 1.14.0, cygwin 1.5.22(0.156/4/2)]

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index 40bdcff..8390a94 100644
@@ -369,7 +369,7 @@ ifeq ($(uname_O),Cygwin)
 	NO_STRCASESTR = YesPlease
 	NO_SYMLINK_HEAD = YesPlease
 	NEEDS_LIBICONV = YesPlease
-	NO_C99_FORMAT = YesPlease
+	# NO_C99_FORMAT = YesPlease
 	NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
 	NO_TRUSTABLE_FILEMODE = UnfortunatelyYes
 	# There are conflicting reports about this.
Signature · 1 line
1.5.0