bugThe FreeType Project - Bugs: bug #40451, Allow building with GCC < 4.6

 
 

bug #40451: Allow building with GCC < 4.6

Submitted by:  None
Submitted on:  Sat 02 Nov 2013 05:17:36 AM UTC  
 
Severity: 3 - NormalItem Group: Hack required
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.5.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 02 Nov 2013 07:29:03 AM UTC, comment #1:

Patch applied, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 02 Nov 2013 05:17:36 AM UTC, original submission:

"ftconfig.h" now uses #pragma GCC diagnostic, which is only supported starting from GCC 4.6 :
http://gcc.gnu.org/gcc-4.6/changes.html

Older GCC is still around, though, most nostably in :
- Linux RHEL/CentOS ;
- Linux Debian stable (MinGW) ;
- FreeBSD ;
...

Please consider attached patch, which conditions these calls to GCC version.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29526:  ftconfig-pragmadiag-oldgcc.patch added by None (742B - text/plain - ftconfig-pragmadiag-oldgcc.patch)

 

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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Nov 2013 07:29:03 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.5.1
    Sat 02 Nov 2013 05:17:36 AM UTCNoneAttached File-=>Added ftconfig-pragmadiag-oldgcc.patch, #29526

    Back to the top


    Powered by Savane 3.1-cleanup1