bugThe FreeType Project - Bugs: bug #45762, Unresolved external symbol when...

 
 

bug #45762: Unresolved external symbol when compiling as C++

Submitted by:  pazer <pazer>
Submitted on:  Fri 14 Aug 2015 06:58:52 PM UTC  
 
Severity: 3 - NormalItem Group: Hack required
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.6.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 15 Aug 2015 04:52:00 AM UTC, comment #1:

Fixed, thanks!

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Fri 14 Aug 2015 06:58:52 PM UTC, original submission:

When compiling FreeType2 as C++, an unresolved external symbol error will be generated from ftstroke.c, line 2292.

extern const FT_Glyph_Class ft_outline_glyph_class;

ft_outline_glyph_class is defined in ftglyph.c with extern "C" linkage, so it must also be defined that way in ftstroke.c. Change to:

FT_CALLBACK_TABLE const FT_Glyph_Class ft_outline_glyph_class;

Compiled with Visual Studio 2015.

pazer <pazer>

 

(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 pazer (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Aug 2015 04:52:00 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.6.1

    Back to the top


    Powered by Savane 3.1-cleanup1