Compile error

Compile error

Return to topic list

Sun Jun 9 23:04:20 2019   by   DH
Like TP last year, I have been running into the tinyc error that reads "planet.c:172: error: redefinition of 'fmin'". I've tried to implement his vague reference to setting things up in a non-"read-only" environment, but to no avail. Interestingly, tinyc does work just fine compiling their example source files in my environment (Windows 10 x64). Also, I've tried simply commenting out fmin and fmax in the source file, which does compile, but only gives a gray area in the image after running the program.

Anyway, being at my wits end, I'm hopeful that someone can offer an insight as to what I'm missing.

Thanks in advance,

DH
 
Mon Jun 10 01:58:37 2019   by   DH
Like TP last year, I have been running into the tinyc error that reads "planet.c:172: error: redefinition of 'fmin'". I've tried to implement his vague reference to setting things up in a non-"read-only" environment, but to no avail. Interestingly, tinyc does work just fine compiling their example source files in my environment (Windows 10 x64). Also, I've tried simply commenting out fmin and fmax in the source file, which does compile, but only gives a gray area in the image after running the program.

Anyway, being at my wits end, I'm hopeful that someone can offer an insight as to what I'm missing.

Thanks in advance,

DH
 
Mon Jun 10 18:31:59 2019   by   DH
The workaround was to go with the MinGW compiler. No problems with that one.

Also, just FYI, my accidental repeat of my initial post occurred because I checked back later to see if there had been a response. I had simply left the page up in my browser, and when I refreshed, it resubmitted the post.

DH
 

Return to topic list



New message:
Topic:
Posted by:

Type the values of the dice shown below:

Return to topic list