Difference between revisions of "Talk:SlashTHEM"

From NetHackWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
:Hmmm, try "return 0;" ??? in ./src/apply.c line 4111.
 
:Hmmm, try "return 0;" ??? in ./src/apply.c line 4111.
 
:It seams FreeBSD is using "LLVM/Clang" now instead of gcc. You'll likely get more errors. You could try using a different compiler? On linux it works with gcc version 4.8.2. You could also try with "make -i", it will ignore all errors.--[[User:Quantum Immortal|Quantum Immortal]] ([[User talk:Quantum Immortal|talk]]) 00:38, 19 April 2015 (UTC)
 
:It seams FreeBSD is using "LLVM/Clang" now instead of gcc. You'll likely get more errors. You could try using a different compiler? On linux it works with gcc version 4.8.2. You could also try with "make -i", it will ignore all errors.--[[User:Quantum Immortal|Quantum Immortal]] ([[User talk:Quantum Immortal|talk]]) 00:38, 19 April 2015 (UTC)
 +
::I tried switching to gcc, and that didn't help.  Return 0 didn't work either.  Make -i compiled everything <b>except</b> for the slashthem executable... <span style="background:green;border-radius:15px 0 0 8px">[[user:Elronnd|Elronnd]]</span><span style="background: orange;border-radius:0 8px 15px 0">[[user_talk:Elronnd|(talk)]]</span> 20:50, 19 April 2015 (UTC)

Revision as of 20:50, 19 April 2015

Problems compiling?

I'm running FreeBSD 10.1 prerelease and I got the following

apply.c:4111:4: error: non-void function 'doapply' should return a value

               [-Wreturn-type]

                        return;

Any help? Elronnd(talk) 21:35, 18 April 2015 (UTC)

I can't really help...
Hmmm, try "return 0;" ??? in ./src/apply.c line 4111.
It seams FreeBSD is using "LLVM/Clang" now instead of gcc. You'll likely get more errors. You could try using a different compiler? On linux it works with gcc version 4.8.2. You could also try with "make -i", it will ignore all errors.--Quantum Immortal (talk) 00:38, 19 April 2015 (UTC)
I tried switching to gcc, and that didn't help. Return 0 didn't work either. Make -i compiled everything except for the slashthem executable... Elronnd(talk) 20:50, 19 April 2015 (UTC)