Add #error to modules and files that do not support PIC yet.
When FT_CONFIG_OPTION_PIC is defined the following files will create #error: * src/bdf/bdfdrivr.h * src/cache/ftcmanag.c * src/cid/cidriver.h * src/gxvalid/gxvmod.h * src/gzip/ftgzip.c * src/lzw/ftlzw.c * src/otvalid/otvmod.h * src/pcf/pcfdrivr.h * src/pfr/pfrdrivr.h * src/psaux/psauxmod.h * src/type1/t1driver.h * src/type42/t42drivr.h * src/winfonts/winfnt.h
This commit is contained in:
parent
59b4af8d59
commit
1dcd0f2399
20
ChangeLog
20
ChangeLog
|
@ -1,3 +1,23 @@
|
|||
2009-04-05 Oran Agra <oran@monfort.co.il>
|
||||
|
||||
Add #error to modules and files that do not support PIC yet.
|
||||
|
||||
When FT_CONFIG_OPTION_PIC is defined the following files will
|
||||
create #error:
|
||||
* src/bdf/bdfdrivr.h
|
||||
* src/cache/ftcmanag.c
|
||||
* src/cid/cidriver.h
|
||||
* src/gxvalid/gxvmod.h
|
||||
* src/gzip/ftgzip.c
|
||||
* src/lzw/ftlzw.c
|
||||
* src/otvalid/otvmod.h
|
||||
* src/pcf/pcfdrivr.h
|
||||
* src/pfr/pfrdrivr.h
|
||||
* src/psaux/psauxmod.h
|
||||
* src/type1/t1driver.h
|
||||
* src/type42/t42drivr.h
|
||||
* src/winfonts/winfnt.h
|
||||
|
||||
2009-04-05 Oran Agra <oran@monfort.co.il>
|
||||
|
||||
Position Independent Code (PIC) support in autofit module.
|
||||
|
|
|
@ -36,6 +36,10 @@ THE SOFTWARE.
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct BDF_encoding_el_
|
||||
{
|
||||
|
|
|
@ -26,6 +26,10 @@
|
|||
#include "ftccback.h"
|
||||
#include "ftcerror.h"
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "cache system does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
#undef FT_COMPONENT
|
||||
#define FT_COMPONENT trace_cache
|
||||
|
|
|
@ -26,6 +26,10 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
FT_CALLBACK_TABLE
|
||||
const FT_Driver_ClassRec t1cid_driver_class;
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
FT_EXPORT_VAR( const FT_Module_Class ) gxv_module_class;
|
||||
|
||||
|
|
|
@ -40,6 +40,10 @@
|
|||
|
||||
#ifdef FT_CONFIG_OPTION_USE_ZLIB
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "gzip code does not support PIC yet"
|
||||
#endif
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_SYSTEM_ZLIB
|
||||
|
||||
#include <zlib.h>
|
||||
|
|
|
@ -42,6 +42,10 @@
|
|||
|
||||
#ifdef FT_CONFIG_OPTION_USE_LZW
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "lzw code does not support PIC yet"
|
||||
#endif
|
||||
|
||||
#include "ftzopen.h"
|
||||
|
||||
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
FT_EXPORT_VAR( const FT_Module_Class ) otv_module_class;
|
||||
|
||||
|
|
|
@ -33,6 +33,10 @@ THE SOFTWARE.
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
FT_EXPORT_VAR( const FT_Driver_ClassRec ) pcf_driver_class;
|
||||
|
||||
FT_END_HEADER
|
||||
|
|
|
@ -26,6 +26,10 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
FT_EXPORT_VAR( const FT_Driver_ClassRec ) pfr_driver_class;
|
||||
|
||||
|
|
|
@ -26,6 +26,10 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
FT_EXPORT_VAR( const FT_Module_Class ) psaux_driver_class;
|
||||
|
||||
|
|
|
@ -26,6 +26,10 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
FT_EXPORT_VAR( const FT_Driver_ClassRec ) t1_driver_class;
|
||||
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
|
||||
FT_EXPORT_VAR( const FT_Driver_ClassRec ) t42_driver_class;
|
||||
|
||||
|
|
|
@ -28,6 +28,10 @@
|
|||
|
||||
FT_BEGIN_HEADER
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_PIC
|
||||
#error "this module does not support PIC yet"
|
||||
#endif
|
||||
|
||||
typedef struct WinMZ_HeaderRec_
|
||||
{
|
||||
FT_UShort magic;
|
||||
|
|
Loading…
Reference in New Issue