bugThe FreeType Project - Bugs: bug #48126, freetype 2.6.3 Build Failed On...

 
 

bug #48126: freetype 2.6.3 Build Failed On VS2015

Submitted by:  None
Submitted on:  Sat 04 Jun 2016 03:23:20 PM UTC  
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  Werner LEMBERG <wl> Open/Closed:  Closed
Planned Release:  2.6.4

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

( Jump to the original submission)

Wed 08 Jun 2016 04:05:41 AM UTC, comment #7: 

Good!

You should send a bug report to Microsoft.  I consider this quite a serious problem.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Wed 08 Jun 2016 01:13:50 AM UTC, comment #6: 

Oh, I clone the master branch from git and build it, Successful!

Anonymous
Tue 07 Jun 2016 08:54:16 AM UTC, comment #5: 

I think it is a bug in your compiler: It seems that it doesn't recognize the end-of-comment sequence `*/` if it immediately follows non-ASCII characters.

If you look into `autofit.i`, line 32765, there is an entry for `AF_SCRIPT_BENG`, followed by `AF_SCRIPT_DEVA`, and between these two enum values the entry for `AF_SCRIPT_CYRL` is missing.  If you now look into the original header file, `afscript.h`, you can see that the entry for `cyrl` has exactly the same form as the entries before and after.  The only difference is the comment, where a bengali character is followed by `*/` without a space.

I've now inserted spaces into the comments in `afscript.h`; please retry with the current git version (or manually insert those two spaces in the comment for Bengali and Gurmukhi).

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 07 Jun 2016 08:12:29 AM UTC, comment #4: 

preprocessor mode is to open '/P' flag?
I open the /P flag to generate this file and attached follow.

Anonymous
Mon 06 Jun 2016 02:08:35 PM UTC, comment #3: 

OK, please run the compiler manually in `preprocessor mode' to expand all macros in this file; we can then have a look what exactly the compiler complains at.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 06 Jun 2016 08:50:46 AM UTC, comment #2: 

Yes. I use CMake to build it.
And only change the sours and dest path when i change build from 2.6.3 to 2.6.2 .
So, i think they are have the same setting.
And just now, i tried again. all the same. (--_--;)

Anonymous
Sat 04 Jun 2016 09:49:43 PM UTC, comment #1: 

Are you sure that you a build of 2.6.2 with exactly the same settings succeeds, and 2.6.3 does not?

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 04 Jun 2016 03:23:20 PM UTC, original submission:  

error C2099 initializer is not a constant
freetype-2.6.3\src\autofit\afstyles.h 100

error C2065 “AF_SCRIPT_CYRL”: undeclared identifier
freetype-2.6.3\src\autofit\afstyles.h 100

it happend on freetype-2.6.3.  but freetype-2.6.2 success build.

so, i think some wrong on 2.6.3.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #37417:  autofit.i added by None (739KiB - text/plain - i open the /P flag to show preprocessor)

 

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)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-07 wl StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
        Planned ReleaseNone => 2.6.4
    2016-06-07 None Attached File- => Added autofit.i, #37417
    2016-06-04 wl StatusNone => Need Info
        Assigned toNone => wl

    Back to the top


    Powered by Savane 3.5