[Autogen-users] problem with auto-opts definition element . . .
Brought to you by:
bkorb
From: Geof S. <Geo...@ut...> - 2011-03-25 01:12:40
|
Hi Bruce, I hope you've found a job. Anyway, I have a problem with an auto-opts .def file. I set a flag like this: flag = { name = bound; value = B; descrip = "Enable bounded mixing"; //ifdef = CONFIG_BOUNDED_MIXING; arg-type = number; }; If I use the 'ifdef' clause of the flag definition I get the following problem when compiling: sched-opt.c:375: error: expected unqualified-id before ‘__null’ The code that corresponds to that message is: #ifdef CONFIG_BOUNDED_MIXING extern tOptProc optionNumericVal; #else /* not CONFIG_BOUNDED_MIXING */ # define optionNumericVal NULL #endif /* def/not CONFIG_BOUNDED_MIXING */ extern tOptProc optionBooleanVal, optionNumericVal, optionPagedUsage, *******LINE 375 optionPrintVersion; Is this a bug in auto-opts/autogen? Thanks for your work, Geof |