Browse Source

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 <[email protected]>
Brad King 13 years ago
parent
commit
d54618f36e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/CustomCommand/GeneratedHeader/main.cpp

+ 1 - 1
Tests/CustomCommand/GeneratedHeader/main.cpp

@@ -1,5 +1,5 @@
 #include "generated.h"
-int main()
+int mainGeneratedHeader()
 {
   return 0;
 }