Dear Developers,
i have tryed out the Ecore Getopt functions, but get an error while
initializing Ecore_Getopt :
./Efl/Efl_Misc.h:35:1: error: too many initializers for 'const
Ecore_Getopt_Desc [0] {aka const _Ecore_Getopt_Desc [0]}'
The Definitation looks like this :
const Ecore_Getopt Options =
{
"patch",
"%prog [options]",
PACKAGE_VERSION,
NULL,
NULL,
NULL,
EINA_FALSE,
{
ECORE_GETOPT_STORE_INT('n',"nopatch","Do not patch"),
ECORE_GETOPT_STORE_INT('p',"patch","patch and exit"),
ECORE_GETOPT_STORE_STR('s',"server","Path to server"),
ECORE_GETOPT_HELP('h',"help"),
ECORE_GETOPT_VERSION('v',"version"),
ECORE_GETOPT_SENTINEL
}
}; // Line 35 in the Error-Message is here.
This looks ok to me, and the code i have seen, looks mostly the same.
Someone have some help for me, to find aout the reason for the error ?
Kind regards
palla
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel