Ticket #120 (closed bugs: fixed)

Opened 2 years ago

Last modified 19 months ago

CubeView.cpp doesn't compile on OpenBSD

Reported by: nobody Owned by: karijes
Priority: normal Milestone: 1.2
Component: efltk Version: 2.0.6
Keywords: Cc:

Description (last modified by karijes) (diff)

Hi,   
   
efltk-2.0.6 doesn't compile on an OpenBSD 3.8 box,   
because test/CubeView.cpp includes math.h twice. I   
removed line 29 in that file and everything compiles.   
   
gcc is 3.3.5 with propolice.  
  
Cheers 

Change History

Changed 2 years ago by karijes

Logged In: YES 
user_id=832040

Hi,

Thank you for this information! I will probably cook some
sort of patch in near future to include gcc4 fixes plus 
this one.

Nice to see someone from openbsd world :)

Cheers

Changed 21 months ago by karijes

  • description modified (diff)
  • component changed from Compiling Problems to efltk
  • priority changed from 5 to normal
  • version changed from eFLTK to efltk-2.0.6
  • milestone set to 1.2
  • type changed from Bugs to bugs

Changed 19 months ago by vljubovic

  • status changed from assigned to closed
  • resolution changed from None to fixed

This bug slipped and wasn't fixed. It's obvious problem, check SVN revision 204: http://ede.svn.sourceforge.net/viewvc/ede?view=rev&revision=204 leka was obviously too lasy to check what's going on so he just added #ifndef linux...

So I removed math.h completely and if this is some Windows-only thing, I don't care ;)

Note: See TracTickets for help on using tickets.