-----Messaggio Originale-----
Da: "Viktor Szakáts" <[email protected]>
A: "Harbour Project Main Developer List." <[email protected]>
Data invio: mercoledì 11 febbraio 2009 11.33
Oggetto: Re: [Harbour] Errors
> #include <windows.h>
>
> as it isn't a C standard header file)
Sorry, this is wrong, on Windows, windows.h is part of the
system and <> has be used for all Windows headers.
I thought that only standard C language header files needed <>. Can you
address me to an official docs that explicitly state something different?
Or, from where did you read that <> can be used for non-standard C language
header files too?
> > Some Windows headers are double #included.
>
> Yes, but was working fine before.
Only HB_OS_WIN_32 has been changed to HB_OS_WIN,
and HB_OS_WIN_32_USED has been changed to HB_OS_WIN_USED.
Ok. The following sample:
#define ES_PASSWORD 32
#define ES_PASSWORD 32
FUNCTION MAIN()
RETURN NIL
shows:
Warning W0001 Redefinition or duplicate definition of #define ES_PASSWORD
that's perfectly correct. But the compilation is aborted using the following
compiler switches:
SET HARBOURCMD=/a /es2 /gc0 /m /n /q /w
How can I instruct the compiler to continue the compilation for this
particular kind of warning? In xHarbour I use
/w2 /wb-
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour