Advertisement
toospeedy

urchlay / assaultcube

May 20th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.91 KB | None | 0 0
  1. Skywise> theres one with a cougar fighting a crocodile that i think crossed the line
  2. <roofy> any one see anything wrong here https://pastebin.com/hA0KdRE8
  3. <kingbeowulf> need to get things exciting.  seem to recal a scandal aboutthat then it stopped
  4. <Skywise> http://drbeetle.homestead.com/stouffer.html
  5. <kingbeowulf> roofy, looks like the compile failed
  6. <BrokenCog> In file included from cube.h:8:
  7. <BrokenCog> ./tools.h:58:21: error: declaration conflicts with target of using declaration already in scope
  8. <BrokenCog> static inline float round(float x) { return floor(x + 0.5f); }
  9. <BrokenCog>                     ^
  10. <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
  11. <BrokenCog>   round(float __x)
  12. <Skywise> do include_once()
  13. * kingbeowulf giggles
  14. <roofy> looks like I have to install gcc
  15. <Urchlay> you could just get rid of the round() declaration from tools.h
  16. <roofy> it doesn't say on the its an requirement
  17. <roofy> Urchlay, how do you know this?
  18. <Skywise> cause he's a greybeard
  19. <roofy> lol
  20. <roofy> do you know i was starring at my pastebin for 2 days and i couldn't figure it out
  21. <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
  22. <roofy> and urchlay has 2 minutes
  23. <roofy> well i'm not even a beginner on c
  24. <Skywise> experience counts
  25. <BrokenCog> expercience wins.
  26. <roofy> illiterate pretty much at this point takes me
  27. <roofy> years to learn slackware
  28. <roofy> while it taken you 2 days to master it
  29. <Urchlay> if you do that, you might have to add #include <cmath> to a few files... ones that include tools.h, but not cmath
  30. <roofy> oy
  31. <roofy> it's really hard trying to keep your system running smoothly and upto date
  32. <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