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

 
 

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

Submitted by:  None
Submitted on:  Thu 16 May 2013 04:21:55 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 16 May 2013 12:21:34 PM UTCwlStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Thu 16 May 2013 05:53:34 AM UTCwlStatusNone=>Need Info
      Assigned toNone=>wl

    Back to the top


    Powered by Savane 3.1-cleanup1