freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Simplify ftconfig.h


From: Vincent Torri
Subject: Re: [patch] Simplify ftconfig.h
Date: Mon, 6 Jul 2020 13:03:29 +0200

On Mon, Jul 6, 2020 at 11:58 AM Werner LEMBERG <wl@gnu.org> wrote:
>
>
> > Werner, please don't commit something if you think there are still
> > problems in it, that's what code reviews are,
>
> Normally, I do that.  However, I've already invested a lot of time in
> writing ChangeLog entries...
>
> > See attached patch for a fix.
>
> Applied, thanks.  Note, however, that there are still issues with
> `make multi CC=c++` (I'm using g++ 7.5.0):
>
>   c++ -ansi -pedantic \
>       -Ifreetype2.compiled [...] \
>       freetype2/src/base/ftsystem.c
>   In file included from freetype2/include/freetype/config/ftconfig.h:45:0,
>                    from freetype2/src/base/ftsystem.c:29:
>   freetype2/include/freetype/config/public-macros.h:83:61: error:
>     expected unqualified-id before string constant
>    #define FT_EXPORT( x )  FT_PUBLIC_FUNCTION_ATTRIBUTE extern "C" x
>                                                                ^
>   freetype2/include/freetype/fterrors.h:281:3: note:
>     in expansion of macro ‘FT_EXPORT’
>      FT_EXPORT( const char* )
>      ^~~~~~~~~
>
> > Sorry about that.  We need a better way to automatically check our
> > builds.  [...]  I'll work on a proper rebuild-check script first
> > though...


github + travis-CI (and appveyor for windows) + coverity (static
analysis) + coverage (unit testing coverage)

i'm sure you can fork your repo in github. if you don't like github,
gitlab should offer the same kind of tools

Vincent Torri



reply via email to

[Prev in Thread] Current Thread [Next in Thread]