Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Skywise> theres one with a cougar fighting a crocodile that i think crossed the line
- <roofy> any one see anything wrong here https://pastebin.com/hA0KdRE8
- <kingbeowulf> need to get things exciting. seem to recal a scandal aboutthat then it stopped
- <Skywise> http://drbeetle.homestead.com/stouffer.html
- <kingbeowulf> roofy, looks like the compile failed
- <BrokenCog> In file included from cube.h:8:
- <BrokenCog> ./tools.h:58:21: error: declaration conflicts with target of using declaration already in scope
- <BrokenCog> static inline float round(float x) { return floor(x + 0.5f); }
- <BrokenCog> ^
- <BrokenCog> /usr/bin/../lib64/gcc/x86_64-slackware-linux/7.3.0/../../../../include/c++/7.3.0/cmath:1771:3: note: target of using declaration
- <BrokenCog> round(float __x)
- <Skywise> do include_once()
- * kingbeowulf giggles
- <roofy> looks like I have to install gcc
- <Urchlay> you could just get rid of the round() declaration from tools.h
- <roofy> it doesn't say on the its an requirement
- <roofy> Urchlay, how do you know this?
- <Skywise> cause he's a greybeard
- <roofy> lol
- <roofy> do you know i was starring at my pastebin for 2 days and i couldn't figure it out
- <Urchlay> because I speak C? I dunno, it seems obvious, the thing you're compiling includes its own rounding function, which conflicts with the system-provided one
- <roofy> and urchlay has 2 minutes
- <roofy> well i'm not even a beginner on c
- <Skywise> experience counts
- <BrokenCog> expercience wins.
- <roofy> illiterate pretty much at this point takes me
- <roofy> years to learn slackware
- <roofy> while it taken you 2 days to master it
- <Urchlay> if you do that, you might have to add #include <cmath> to a few files... ones that include tools.h, but not cmath
- <roofy> oy
- <roofy> it's really hard trying to keep your system running smoothly and upto date
- <Urchlay> and you might possibly have to add -lm to the LDFLAGS (but, I bet it's already there)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement