Tests/CustomCommand: Do not use 'main' in a library
Otherwise when linking 'CustomCommand' some linkers report ld: 0711-224 WARNING: Duplicate symbol: .main Suggested-by: Daniel R. Gomez <gomez@teragram.com>
This commit is contained in:
parent
f70f55c064
commit
d54618f36e
|
@ -1,5 +1,5 @@
|
|||
#include "generated.h"
|
||||
int main()
|
||||
int mainGeneratedHeader()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue