indiantarget / quimeraengine

0 stars 0 forks source link

Define an alias for alignment detection functions #509

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In order to know the alignment the compiler has assigned to a given type, each 
compilar provides a function that returns an integer value. Since those 
functions are different on each compiler, we have to create an alias so the 
aliased function is chosen during compilation.

Visual Studio uses __alignof( type )
GCC uses __alignof__ ( type )

The alias must be defined at InternalDefinitions.h and called alignof_q.

Original issue reported on code.google.com by kinesiscontact@gmail.com on 27 Jan 2014 at 7:16

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 27 Jan 2014 at 7:33

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 27 Jan 2014 at 7:34

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 27 Jan 2014 at 7:34

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 27 Jan 2014 at 7:34

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 29 Jan 2014 at 12:53

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 29 Jan 2014 at 1:27

Attachments:

GoogleCodeExporter commented 9 years ago
Patch updated.

Original comment by Lince3D@gmail.com on 10 Feb 2014 at 2:22

Attachments:

GoogleCodeExporter commented 9 years ago
Result: OK
Status: Done

Original comment by anderson...@gmail.com on 18 Feb 2014 at 9:47