MSVC 8.0 gives these errors:
source\common\hbprintf.c(316) : error C2061: syntax error : identifier
'intmax_t'
source\common\hbprintf.c(317) : error C2061: syntax error : identifier
'as_x_uintmax_t'
source\common\hbprintf.c(317) : error C2059: syntax error : ';'
source\common\hbprintf.c(325) : error C2059: syntax error : '}'
source\common\hbprintf.c(329) : error C2061: syntax error : identifier
'x_type'
source\common\hbprintf.c(330) : error C2059: syntax error : '}'
source\common\hbprintf.c(336) : error C2061: syntax error : identifier
'v_param'
source\common\hbprintf.c(337) : error C2059: syntax error : '}'
source\common\hbprintf.c(381) : error C2143: syntax error : missing '{'
before '*'
source\common\hbprintf.c(381) : error C2143: syntax error : missing ')'
before '*'
source\common\hbprintf.c(381) : error C2081: 'v_paramlst' : name in formal
parameter list illegal
source\common\hbprintf.c(381) : error C2143: syntax error : missing '{'
before '*'
source\common\hbprintf.c(381) : warning C4431: missing type specifier - int
assumed. Note: C no longer supports default-int
source\common\hbprintf.c(381) : error C2059: syntax error : 'type'
source\common\hbprintf.c(381) : error C2059: syntax error : ')'
source\common\hbprintf.c(410) : error C2143: syntax error : missing ')'
before '*'
source\common\hbprintf.c(410) : error C2143: syntax error : missing '{'
before '*'
source\common\hbprintf.c(410) : warning C4431: missing type specifier - int
assumed. Note: C no longer supports default-int
source\common\hbprintf.c(410) : warning C4431: missing type specifier - int
assumed. Note: C no longer supports default-int
source\common\hbprintf.c(410) : error C2040: 'va_list' : 'int' differs in
levels of indirection from 'char *'
source\common\hbprintf.c(410) : error C2146: syntax error : missing ';'
before identifier 'va'
source\common\hbprintf.c(410) : warning C4218: nonstandard extension used :
must specify at least a storage class or a type
source\common\hbprintf.c(410) : error C2059: syntax error : ')'
source\common\hbprintf.c(411) : warning C4431: missing type specifier - int
assumed. Note: C no longer supports default-int
source\common\hbprintf.c(411) : error C2054: expected '(' to follow 'va'
source\common\hbprintf.c(487) : error C2146: syntax error : missing ')'
before identifier 'value'
source\common\hbprintf.c(487) : error C2081: 'uintmax_t' : name in formal
parameter list illegal
source\common\hbprintf.c(487) : error C2061: syntax error : identifier
'value'
source\common\hbprintf.c(487) : error C2059: syntax error : ';'
source\common\hbprintf.c(487) : error C2059: syntax error : ','
source\common\hbprintf.c(487) : error C2059: syntax error : ')'
source\common\hbprintf.c(542) : error C2146: syntax error : missing ')'
before identifier 'value'
source\common\hbprintf.c(542) : error C2081: 'uintmax_t' : name in formal
parameter list illegal
source\common\hbprintf.c(542) : error C2061: syntax error : identifier
'value'
source\common\hbprintf.c(542) : error C2059: syntax error : ';'
source\common\hbprintf.c(542) : error C2059: syntax error : ','
source\common\hbprintf.c(543) : error C2059: syntax error : ')'
source\common\hbprintf.c(715) : error C2146: syntax error : missing ')'
before identifier 'value'
source\common\hbprintf.c(715) : error C2081: 'uintmax_t' : name in formal
parameter list illegal
source\common\hbprintf.c(715) : error C2061: syntax error : identifier
'value'
source\common\hbprintf.c(715) : error C2059: syntax error : ';'
source\common\hbprintf.c(715) : error C2059: syntax error : ','
source\common\hbprintf.c(716) : error C2059: syntax error : ')'
source\common\hbprintf.c(834) : error C2065: 'v_param' : undeclared
identifier
source\common\hbprintf.c(834) : error C2146: syntax error : missing ';'
before identifier 'argbuf'
source\common\hbprintf.c(834) : error C2065: 'argbuf' : undeclared
identifier
source\common\hbprintf.c(834) : error C2109: subscript requires array or
pointer type
source\common\hbprintf.c(835) : error C2065: 'v_paramlst' : undeclared
identifier
source\common\hbprintf.c(835) : error C2146: syntax error : missing ';'
before identifier 'params'
source\common\hbprintf.c(835) : error C2065: 'params' : undeclared
identifier
source\common\hbprintf.c(837) : error C2224: left of '.size' must have
struct/union type
source\common\hbprintf.c(838) : error C2224: left of '.maxarg' must have
struct/union type
source\common\hbprintf.c(839) : error C2224: left of '.arglst' must have
struct/union type
source\common\hbprintf.c(840) : error C2224: left of '.repeat' must have
struct/union type
source\common\hbprintf.c(845) : error C2224: left of '.repeat' must have
struct/union type
source\common\hbprintf.c(847) : error C2224: left of '.repeat' must have
struct/union type
source\common\hbprintf.c(848) : error C2224: left of '.maxarg' must have
struct/union type
source\common\hbprintf.c(851) : warning C4013: 'va_arg_fill' undefined;
assuming extern returning int
source\common\hbprintf.c(870) : error C2146: syntax error : missing ';'
before identifier 'argval'
source\common\hbprintf.c(870) : error C2065: 'argval' : undeclared
identifier
source\common\hbprintf.c(871) : error C2143: syntax error : missing ';'
before 'type'
source\common\hbprintf.c(877) : error C2065: 'value' : undeclared identifier
source\common\hbprintf.c(880) : error C2065: 'param' : undeclared identifier
source\common\hbprintf.c(891) : error C2065: 'stop' : undeclared identifier
source\common\hbprintf.c(894) : error C2065: 'flags' : undeclared identifier
source\common\hbprintf.c(932) : error C2065: 'width' : undeclared identifier
source\common\hbprintf.c(932) : warning C4013: 'va_arg_get' undefined;
assuming extern returning int
source\common\hbprintf.c(932) : error C2223: left of '->value' must point to
struct/union
source\common\hbprintf.c(932) : fatal error C1903: unable to recover from
previous error(s); stopping

Brgds,
Viktor


On Wed, Jan 28, 2009 at 9:04 AM, Viktor Szakáts <harbour...@syenar.hu>wrote:

> Hi Przemek,
>
>
>> Now if possible and necessary then please update hbprintf.c for
>> MSVC. It's the last popular compiler I haven't tested. We should
>
>
> I've made and attempt, but it turned out Microsoft refuses to
> support C99 standard (they push ppl to use recent C++ standards
> instead). They don't support stdint.h either (probably because
> it would increase the chance to write more portable code).
> And there are no official functions to detect inf and nan. So, this
> doesn't look like a joyride for MSVC. I'm keeping this topic open,
> so maybe I'll stumble in some solutions in the future.
>
> [ I did just a quick check but looking at the CRL sources, it
> seems MSVC printf() implementation doesn't support nan/inf
> either. ]
>
> Brgds,
> Viktor
>
>
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to