bugThe FreeType Project - Bugs: bug #39005, Syntax warning (when compiling...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39005: Syntax warning (when compiling pango) in ftconfig.h

Submitter:  None
Submitted:  Thu 16 May 2013 04:21:55 AM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  None

Thu 16 May 2013 01:36:37 PM UTC, comment #5: 

Reported against gobject-introspection at:

https://bugzilla.gnome.org/show_bug.cgi?id=700459

Anonymous
Thu 16 May 2013 12:21:34 PM UTC, comment #4: 

How embarrassing that I myself have encountered this very problem and completely forgotten about it :-)

It's definitely a gobject-introspection issue.  Please ask the gnome people how to proceed.

Thanks for investigation.

Werner LEMBERG <wl>
Group administrator
Thu 16 May 2013 08:29:16 AM UTC, comment #3: 

Aha, this silences the 2 warnings at least, compiling pango with:

    --disable-introspection

Previous brief discussion at http://lists.freedesktop.org/archives/harfbuzz/2012-June/002092.html

Is this a freetype, or gobject-introspection issue?

Anonymous
Thu 16 May 2013 07:29:46 AM UTC, comment #2: 

I've tried various compilation & gcc options, from totally plain to freetype's ./configure options:

  --disable-static --enable-biarch-config --disable-mmap

The above is just an example of the many I've tried, with no difference to the pango warning.

Since, during pango compilation, this is a warning rather than a fatal error, I assume it happens to everyone on 32-bit x86, and they don't notice.

The warning comes as a pair:

/usr/include/freetype2/freetype/config/ftconfig.h:436: syntax error, unexpected '{', expecting ',' or ';' in '  {' at '{'
/usr/include/freetype2/freetype/config/ftconfig.h:440: syntax error, unexpected identifier in '    _asm_ __volatile__ (' at '__asm__'

Is there a way of rewriting /usr/include/freetype2/freetype/config/ftconfig.h between lines 433 and 454 that makes gcc happier?

Anonymous
Thu 16 May 2013 05:53:34 AM UTC, comment #1: 

I've never seen this, and I'm completely clueless why this happens.  To further investigate this, I've written to the freetype-devel mailing list, and I ask you to give more details how you compile FreeType.

Werner LEMBERG <wl>
Group administrator
Thu 16 May 2013 04:21:55 AM UTC, original submission:  

Hi, compiling pango 1.32.5 using any of these freetype versions:

2.4.11
2.4.12
20130516 git

Gives a warning:

/usr/include/freetype2/freetype/config/ftconfig.h:436: syntax error, unexpected '{', expecting ',' or ';' in '  {' at '{'

With both gcc 4.7.2 and 4.8.0, 32-bit

Which seems to be these declarations:

static _inline_ FT_Int32
FT_MulFix_i386( FT_Int32  a,
                FT_Int32  b )

Is that something worth worrying about?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wl (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-16 wl StatusNeed Info Invalid
        Open/ClosedOpen Closed
    2013-05-16 wl StatusNone Need Info
        Assigned toNone wl

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code