On Thu, Mar 31, 2016 at 09:49:38AM -0400, Jeff Mahoney wrote: > 1/ Define the macros in multiple places
Please don't. :) > 2/ Teach xlat/gen.sh to produce two .h files. One contains the xlat > structures, the other contains the defines. This is OK. > 3/ Teach xlat/gen.sh to wrap the structure definition in a "#ifndef > XLAT_DEFINES_ONLY" and allow test programs to define that. This is also OK. > My preference is #3 since it means no code change outside of the > xlat/gen.sh script. #2 also could be implemented just by changing xlat/gen.sh script, but #3 seems to be the simplest variant. -- ldv
pgpbkePd_IBK2.pgp
Description: PGP signature
------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel