On Thu, 16 Apr 2009, Ranier Vilela wrote:
> cl.exe -nologo -I. -I../../../../include -Gs -TP -Wall -wd4127 -Ot2b1 
> -EHs-c- -MT     -c ../../set.c -Foset.obj
> set.c
> ../../set.c(1321) : warning C4061: enumerator 'HB_SET_TIMEFORMAT' in switch 
> of enum 'HB_set_enum' is not explicitly handled by a case label
>        e:\xharbour\harbour-1.1.0\include\hbset.h(63) : see declaration of 
> 'HB_set_enum'
> ../../set.c(1321) : warning C4061: enumerator 'HB_SET_OSCODEPAGE' in switch 
> of enum 'HB_set_enum' is not explicitly handled by a case label
>        e:\xharbour\harbour-1.1.0\include\hbset.h(63) : see declaration of 
> 'HB_set_enum'
[...]

Such warnings should be generated _only_ when there is no 'default' case
in switch() statement.
For me it's MSVC bug.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to