bugThe FreeType Project - Bugs: bug #39537, freetype2-demos/src/ftstring.c...

 
 

bug #39537: freetype2-demos/src/ftstring.c fails to compile

Submitted by:  James Cloos <cloos>
Submitted on:  Sat 20 Jul 2013 01:22:43 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: 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.

 

Sat 20 Jul 2013 05:46:43 PM UTC, comment #1:

Fixed, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 20 Jul 2013 01:22:43 PM UTC, original submission:

As of commit 3be0ebc97f309 I get this:

.../freetype2-demos/src/ftstring.c: In function ‘main’:
.../freetype2-demos/src/ftstring.c:590:53: error: ‘FALSE’ undeclared (first use in this function)
error = FTDemo_Install_Font( handle, argv[0], FALSE );
^
.../freetype2-demos/src/ftstring.c:590:53: note: each undeclared identifier is reported only once for each function it appears in
make: *** [.../freetype2-demos/obj/ftstring.o] Error 1

That commit also added the same change to ftview.c.

<stdbool.h> #defines false 0.

Otherwise they need to #include freetype2/include/freetype/internal/ftobjs.h in order to have FALSE and TRUE.

James Cloos <cloos>

 

(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)
  • -unavailable- added by cloos (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 20 Jul 2013 05:46:43 PM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1