10.07.2015 Views

Ingres 9.2 Migration Guide - Actian

Ingres 9.2 Migration Guide - Actian

Ingres 9.2 Migration Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Application RebuildingModifications Required For C ApplicationsTo build C applications byte-aligned with <strong>Ingres</strong>, a number of files requiremodification. Any modifications made may need to be re-applied following theinstallation of an <strong>Ingres</strong> patch.The first files to modify are the C header files supplied in the followingdirectories:II_SYSTEM:[INGRES.DEMO.API.ASC]II_SYSTEM:[INGRES.DEMO.UDADTS]II_SYSTEM:[INGRES.FILES]At this time, the only header files that contain <strong>Ingres</strong> structure definitions needmodification, these are:II_SYSTEM:[INGRES.DEMO.API.ASC]ASC.HII_SYSTEM:[INGRES.DEMO.UDADTS]UDT.HII_SYSTEM:[INGRES.FILES]ABFURTS.H,II_SYSTEM:[INGRES.FILES]EQSQLCA.H,II_SYSTEM:[INGRES.FILES]EQSQLDA.H,II_SYSTEM:[INGRES.FILES]FRAME2.H,II_SYSTEM:[INGRES.FILES]FRAME60.H,II_SYSTEM:[INGRES.FILES]FRAME61.H,II_SYSTEM:[INGRES.FILES]IIADD.H,II_SYSTEM:[INGRES.FILES]IIAPI.H,II_SYSTEM:[INGRES.FILES]OSLHDR.H,II_SYSTEM:[INGRES.FILES]RAAT.H,II_SYSTEM:[INGRES.FILES]SPATIAL.HOn the first line in each of the above files add:#pragma member_alignment save#pragma member_alignmentOn the last line in each of the above files add:#pragma member_alignment restoreNote: The "#" of the #pragma instruction must be the first character on theline.The purpose of these pragmas is to direct the compiler to naturally align theelements of the defined structures, then to restore the alignment strategyused before the header file was included.86 <strong>Migration</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!