> [email protected] wrote: > > Hello, > > I am using FLUID to declare a class with an array that has a > > __declspec(align(16)) prefix to it > > to tell MS Visual C to align it along 16 bytes as in > > http://msdn.microsoft.com/en-us/library/83ythb65.aspx. > > > > In the myprog.h file generated by FLUID, the > > declaration of the array does not appear at all anywhere in the file even > > if in myprog.fl, it has > > decl {__declspec(align(16)) double itsArray[10240];} > > > > How do I fix this? > > Which version of FLTK, and what technique did you try? > > I just tried the following in FLTK 1.3.x fluid: > > 1) New -> Code -> Declaration > > 2) Pasted: decl {__declspec(align(16)) double itsArray[10240];} > > 3) File -> Write code > > When I do that, I seem to get that exact declaration in either the .h > or the .cxx file, depending on whether I choose "In header file only" > or "In source file only".
I am using version 1.1.8 of FLUID and used New -> Code -> Declaration. I don't see "In header file only" or "In source file only". I only have public and static. Frank _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

