Fossil SCM
When compiling with Mingw(-w64), check for (older) MSVC compatibility.
Commit
4080860da51ef7849416af44682fdeb2b219869a79178a706d83bf6f9ca1c56e
Parent
80c94b768982a01…
3 files changed
+1
-1
+1
-1
+1
-1
+1
-1
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -728,11 +728,11 @@ | ||
| 728 | 728 | # run on the target platform. This is usually the almost the same |
| 729 | 729 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 730 | 730 | # the finished binary for fossil. The BCC compiler above is used |
| 731 | 731 | # for building intermediate code-generator tools. |
| 732 | 732 | # |
| 733 | -TCC = $(PREFIX)$(TCCEXE) -Wall | |
| 733 | +TCC = $(PREFIX)$(TCCEXE) -Wall -Wdeclaration-after-statement | |
| 734 | 734 | |
| 735 | 735 | #### Add the necessary command line options to build with debugging |
| 736 | 736 | # symbols, if enabled. |
| 737 | 737 | # |
| 738 | 738 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 739 | 739 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -728,11 +728,11 @@ | |
| 728 | # run on the target platform. This is usually the almost the same |
| 729 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 730 | # the finished binary for fossil. The BCC compiler above is used |
| 731 | # for building intermediate code-generator tools. |
| 732 | # |
| 733 | TCC = $(PREFIX)$(TCCEXE) -Wall |
| 734 | |
| 735 | #### Add the necessary command line options to build with debugging |
| 736 | # symbols, if enabled. |
| 737 | # |
| 738 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 739 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -728,11 +728,11 @@ | |
| 728 | # run on the target platform. This is usually the almost the same |
| 729 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 730 | # the finished binary for fossil. The BCC compiler above is used |
| 731 | # for building intermediate code-generator tools. |
| 732 | # |
| 733 | TCC = $(PREFIX)$(TCCEXE) -Wall -Wdeclaration-after-statement |
| 734 | |
| 735 | #### Add the necessary command line options to build with debugging |
| 736 | # symbols, if enabled. |
| 737 | # |
| 738 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 739 |
+1
-1
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -225,11 +225,11 @@ | ||
| 225 | 225 | # run on the target platform. This is usually the almost the same |
| 226 | 226 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 227 | 227 | # the finished binary for fossil. The BCC compiler above is used |
| 228 | 228 | # for building intermediate code-generator tools. |
| 229 | 229 | # |
| 230 | -TCC = $(PREFIX)$(TCCEXE) -Wall | |
| 230 | +TCC = $(PREFIX)$(TCCEXE) -Wall -Wdeclaration-after-statement | |
| 231 | 231 | |
| 232 | 232 | #### Add the necessary command line options to build with debugging |
| 233 | 233 | # symbols, if enabled. |
| 234 | 234 | # |
| 235 | 235 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 236 | 236 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -225,11 +225,11 @@ | |
| 225 | # run on the target platform. This is usually the almost the same |
| 226 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 227 | # the finished binary for fossil. The BCC compiler above is used |
| 228 | # for building intermediate code-generator tools. |
| 229 | # |
| 230 | TCC = $(PREFIX)$(TCCEXE) -Wall |
| 231 | |
| 232 | #### Add the necessary command line options to build with debugging |
| 233 | # symbols, if enabled. |
| 234 | # |
| 235 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 236 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -225,11 +225,11 @@ | |
| 225 | # run on the target platform. This is usually the almost the same |
| 226 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 227 | # the finished binary for fossil. The BCC compiler above is used |
| 228 | # for building intermediate code-generator tools. |
| 229 | # |
| 230 | TCC = $(PREFIX)$(TCCEXE) -Wall -Wdeclaration-after-statement |
| 231 | |
| 232 | #### Add the necessary command line options to build with debugging |
| 233 | # symbols, if enabled. |
| 234 | # |
| 235 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 236 |
+1
-1
| --- win/Makefile.mingw.mistachkin | ||
| +++ win/Makefile.mingw.mistachkin | ||
| @@ -225,11 +225,11 @@ | ||
| 225 | 225 | # run on the target platform. This is usually the almost the same |
| 226 | 226 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 227 | 227 | # the finished binary for fossil. The BCC compiler above is used |
| 228 | 228 | # for building intermediate code-generator tools. |
| 229 | 229 | # |
| 230 | -TCC = $(PREFIX)$(TCCEXE) -Wall | |
| 230 | +TCC = $(PREFIX)$(TCCEXE) -Wall -Wdeclaration-after-statement | |
| 231 | 231 | |
| 232 | 232 | #### Add the necessary command line options to build with debugging |
| 233 | 233 | # symbols, if enabled. |
| 234 | 234 | # |
| 235 | 235 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 236 | 236 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -225,11 +225,11 @@ | |
| 225 | # run on the target platform. This is usually the almost the same |
| 226 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 227 | # the finished binary for fossil. The BCC compiler above is used |
| 228 | # for building intermediate code-generator tools. |
| 229 | # |
| 230 | TCC = $(PREFIX)$(TCCEXE) -Wall |
| 231 | |
| 232 | #### Add the necessary command line options to build with debugging |
| 233 | # symbols, if enabled. |
| 234 | # |
| 235 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 236 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -225,11 +225,11 @@ | |
| 225 | # run on the target platform. This is usually the almost the same |
| 226 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 227 | # the finished binary for fossil. The BCC compiler above is used |
| 228 | # for building intermediate code-generator tools. |
| 229 | # |
| 230 | TCC = $(PREFIX)$(TCCEXE) -Wall -Wdeclaration-after-statement |
| 231 | |
| 232 | #### Add the necessary command line options to build with debugging |
| 233 | # symbols, if enabled. |
| 234 | # |
| 235 | ifdef FOSSIL_ENABLE_SYMBOLS |
| 236 |