← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1006842] Re: over 9000 warnings message when compile: adchpp/Thread.h: In static member function 'static void* adchpp::Thread::starter(void*)'. and patch for build with GCC 4.7

 

need add "unistd.h" in Thread.h and File.h. without this fail build in
4.7/4.7.1 http://wklej.org/id/774465

yea. the expire link is limitation from paste.kde.org. sorry.

other output messages: http://wklej.org/id/774463

r588 fix thread title messages

greetings

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/1006842

Title:
  over 9000 warnings message when compile: adchpp/Thread.h: In static
  member function 'static void* adchpp::Thread::starter(void*)'. and
  patch for build with GCC 4.7

Status in ADCH++:
  Fix Committed

Bug description:
  when compilling ADCH from bzr, get more warnings like this:

  adchpp/Thread.h: In static member function 'static void* adchpp::Thread::starter(void*)':
  adchpp/Thread.h:99:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

  using gcc 4.7 and  1.9.3_p194 in 64 bits

  the "configure":  scons mode=release docs=yes ssl=yes langs=all
  arch=x64

  get  other warnings. but need clean log to determine if need more
  fixes

  
  attached patch for build with GCC 4.7 (fail build without this)

  greetings

To manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/1006842/+subscriptions


References