I have been using the following with the PB 6.20 asm compiler without any issues:
Code: Select all
ProcedureCDLL.i main(argc.l, argv.i)
Does anyone know how this should be fixed?Error: Assembler
error: conflicting types for ‘main’
int main(int argc, char* argv[]) {
^~~~
purebasic.c5: note: previous definition of ‘main’ was here
int main(int v_argc,int v_argv) {
^~~~
purebasic.c: In function ‘main’:
Sometimes the error says the following where the "int" is changed to "integer" which I believe is incorrect.
Thanks,Error: Assembler
error: conflicting types for ‘main’
int main(int argc, char* argv[]) {
^~~~
purebasic.c9: note: previous definition of ‘main’ was here
integer main(int v_argc,integer v_argv) {
Simon


