2009/2/25 David Chisnall <[email protected]>
>
> If you must use HTML mail, please don't set the font size to
> 'unreadably small'.  Point size six might be fine for you, but for
> humans reading it's very difficult.

I'm really sorry for that :)

> > Why HAVE_STDARG_H isn't defined?
>
> Where is HAVE_STDARG_H needed?  Your error is on line 22 of
> OGRegularExpression.m, which is:
>
> #import "OGRegularExpressionPrivate.h"
>
> This header does not reference HAVE_STDARG_H, and neither do any other
> OgerKit headers (or other files for that matter).  This macro is also
> not found in the copy of oniguruma.h I have installed, from version
> 5.9.1.

Maybe that is the problem, because mine copy of oniguruma.h has HAVE_STDARG_H:

#ifdef HAVE_STDARG_H
# ifndef  HAVE_STDARG_PROTOTYPES
#  define HAVE_STDARG_PROTOTYPES 1
# endif
#endif

...

#ifndef PV_
#ifdef HAVE_STDARG_PROTOTYPES
# define PV_(args) args
#else
# define PV_(args) ()
#endif
#endif

...

ONIG_EXTERN int onig_error_code_to_str PV_((OnigUChar* s, int
err_code, ...)); // line 715

and that's why i get this error:

Build Project: OgreKit

Making all in subprojects of framework OgreKit...
Making all in subprojects of subproject Source...
Making all for subproject RegularExpression...
 Compiling file NSString_OgreKitAdditions.m ...
 Compiling file OGRegularExpressionEnumeratorPrivate.m ...
 Compiling file OGAttributedString.m ...
 Compiling file OGRegularExpressionFormatter.m ...
 Compiling file OGMutableAttributedString.m ...
 Compiling file OGMutablePlainString.m ...
 Compiling file OGRegularExpressionMatch.m ...
 Compiling file OGRegularExpressionMatchPrivate.m ...
 Compiling file OGPlainString.m ...
 Compiling file OGRegularExpressionPrivate.m ...
 Compiling file OGRegularExpression.m ...
cc1obj: warnings being treated as errors
OGRegularExpression.m: In function ‘-[OGRegularExpression
initWithString:options:syntax:escapeCharacter:]’:
OGRegularExpression.m:302: error: call to function
‘onig_error_code_to_str’ without a real prototype
/usr/include/oniguruma.h:715: note: ‘onig_error_code_to_str’ was declared here
make[5]: *** [obj/OGRegularExpression.m.o] Error 1
make[4]: *** [RegularExpression.all.subproject.variables] Error 2
make[3]: *** [Source.all.subproject.variables] Error 2
make[2]: *** [OgreKit.all.framework.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2


Donatas

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à