[Bug 199919] games/wxlauncher: fails to build with WX3=on JOYSTICK=off

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 4 09:39:01 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199919

--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
wxLogDebug() is no longer a nop in non-debug build according to c++ -E output:

  // wxgtk-2.8
  bool JoyMan::Initialize() {
   if ( JoyMan::IsInitialized() ) {
    wxLogNop();

    return true;
   }
  ...

  // wxgtk-3.0
  JoyMan::Initialize() {
   if ( JoyMan::IsInitialized() ) {
    for ( bool wxlogcheck68 = false; !wxlogcheck68 &&
wxLog::IsLevelEnabled(wxLOG_Debug, wxLOG_COMPONENT); wxlogcheck68 = true )
wxLogger(wxLOG_Debug,
"/wrkdirs/usr/ports/games/wxlauncher/work/wxLauncher-wxlauncher-7ee46df/code/apis/JoystickManager.cpp",
68, __FUNCTION__, wxLOG_COMPONENT).Log(L"JoyMan already initialized with %d
joysticks",
     joysticks.Count());
    return true;
   }
  ...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list