2010-04-23 02:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* utils/hbmk2/hbmk2.prg
    * Changed low warning level for msvc/icc compilers to -W2
      (-W1 is the default).

  * config/wce/msvcarm.mk
  * config/win/icc.mk
  * config/win/msvc.mk
    + Upped 'HB_BUILD_WARN=no' warning level for msvc/icc
      compilers to '-W2'. (matching hbmk2 -warn=low level)

  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Upped 'HB_BUILD_WARN=no' warning level for msvc/icc
      compilers to '-w1'. (matching hbmk2 -warn=low level)
This commit is contained in:
Viktor Szakats
2010-04-23 00:30:50 +00:00
parent a4bf46c73f
commit 7df007ad24
9 changed files with 35 additions and 2 deletions

View File

@@ -17,6 +17,24 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-04-23 02:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
* Changed low warning level for msvc/icc compilers to -W2
(-W1 is the default).
* config/wce/msvcarm.mk
* config/win/icc.mk
* config/win/msvc.mk
+ Upped 'HB_BUILD_WARN=no' warning level for msvc/icc
compilers to '-W2'. (matching hbmk2 -warn=low level)
* config/dos/watcom.mk
* config/win/watcom.mk
* config/linux/watcom.mk
* config/os2/watcom.mk
+ Upped 'HB_BUILD_WARN=no' warning level for msvc/icc
compilers to '-w1'. (matching hbmk2 -warn=low level)
2010-04-23 01:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
* Reverted bcc experimental warning tweak.
@@ -38,6 +56,7 @@
* config/sunos/gcc.mk
+ Upped 'HB_BUILD_WARN=no' warning level for GCC
and compatible compilers to '-W'.
(matching hbmk2 -warn=low level)
* config/linux/sunpro.mk
* config/sunos/sunpro.mk

View File

@@ -22,6 +22,8 @@ LDFLAGS += OP quiet
ifneq ($(HB_BUILD_WARN),no)
CFLAGS += -w3
else
CFLAGS += -w1
endif
ifneq ($(HB_BUILD_OPTIM),no)

View File

@@ -21,6 +21,8 @@ LDFLAGS += OP quiet
ifneq ($(HB_BUILD_WARN),no)
CFLAGS += -w3
else
CFLAGS += -w1
endif
ifneq ($(HB_BUILD_OPTIM),no)

View File

@@ -23,6 +23,8 @@ LDFLAGS += OP quiet
ifneq ($(HB_BUILD_WARN),no)
CFLAGS += -w3
else
CFLAGS += -w1
endif
ifneq ($(HB_BUILD_OPTIM),no)

View File

@@ -56,6 +56,8 @@ ifneq ($(HB_BUILD_WARN),no)
else
CFLAGS += -W4 -wd4127
endif
else
CFLAGS += -W2
endif
ifneq ($(HB_BUILD_OPTIM),no)

View File

@@ -28,6 +28,8 @@ endif
ifneq ($(HB_BUILD_WARN),no)
CFLAGS += -W3
else
CFLAGS += -W2
endif
ifneq ($(HB_BUILD_OPTIM),no)

View File

@@ -35,6 +35,8 @@ endif
ifneq ($(HB_BUILD_WARN),no)
CFLAGS += -W4 -wd4127
else
CFLAGS += -W2
endif
ifneq ($(HB_BUILD_OPTIM),no)

View File

@@ -23,6 +23,8 @@ LDFLAGS += OP quiet
ifneq ($(HB_BUILD_WARN),no)
CFLAGS += -w3
else
CFLAGS += -w1
endif
ifneq ($(HB_BUILD_OPTIM),no)

View File

@@ -3306,7 +3306,7 @@ FUNCTION hbmk2( aArgs, /* @ */ lPause )
SWITCH hbmk[ _HBMK_nWARN ]
CASE _WARN_MAX ; AAdd( hbmk[ _HBMK_aOPTC ], "-W4" ) ; EXIT
CASE _WARN_YES ; AAdd( hbmk[ _HBMK_aOPTC ], "-W3" ) ; EXIT /* -W4 is deadly on icc */
CASE _WARN_LOW ; AAdd( hbmk[ _HBMK_aOPTC ], "-W1" ) ; EXIT
CASE _WARN_LOW ; AAdd( hbmk[ _HBMK_aOPTC ], "-W2" ) ; EXIT
CASE _WARN_NO ; AAdd( hbmk[ _HBMK_aOPTC ], "-W0" ) ; EXIT
ENDSWITCH
ELSE
@@ -3321,7 +3321,7 @@ FUNCTION hbmk2( aArgs, /* @ */ lPause )
AAdd( hbmk[ _HBMK_aOPTC ], "-W4 -wd4127" )
ENDIF
EXIT
CASE _WARN_LOW ; AAdd( hbmk[ _HBMK_aOPTC ], "-W1" ) ; EXIT
CASE _WARN_LOW ; AAdd( hbmk[ _HBMK_aOPTC ], "-W2" ) ; EXIT
CASE _WARN_NO ; AAdd( hbmk[ _HBMK_aOPTC ], "-W0" ) ; EXIT
ENDSWITCH
ENDIF