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
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to