[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] Compiler exception
From: |
mark diener |
Subject: |
[ft-devel] Compiler exception |
Date: |
Tue, 25 Jul 2017 19:09:21 -0600 |
I am not going to spend the time to Git commit a compiler exception.
Windows 10 - MSVC 2017 - Freetype 2.8
void* af_shaper_buf_create( FT_Face face )
{
FT_Error error;
FT_Memory memory = face->memory;
FT_ULong* buf = nullptr;
FT_MEM_ALLOC( buf, sizeof ( FT_ULong ) );
return (void*)buf;
}
Uinitialized buf throws compiler exception, so initialize it to nullptr;
FT_ULong* buf = nullptr;
Likely would not puke on GCC.
- [ft-devel] Compiler exception,
mark diener <=