Hi Robert, On 05.05.2011, at 04:36, Robert Holmes wrote:
> I do not know if this has been covered or not but when I was trying to > compile wvdial it needed wvstream but it has the following error > > In file included from ipstreams/wvaddr.cc:19:0: > ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const': > ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will > break strict-aliasing rules > ./CXX -c ipstreams/wvipraw > In file included from ./include/wvipraw.h:10:0, > from ipstreams/wvipraw.cc:8: > ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const': > ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will > break strict-aliasing rules > ./CXX -c ipstreams/wvlistener > In file included from ipstreams/wvlistener.cc:10:0: > ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const': > ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will > break strict-aliasing rules > ./CXX -c ipstreams/wvresolver > In file included from ./include/wvresolver.h:10:0, > from ipstreams/wvresolver.cc:7: > ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const': > ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will > break strict-aliasing rules > ./CXX -c ipstreams/wvstreamsdebuggerserver > In file included from ./include/wvstreamsdebuggerserver.h:12:0, > from ipstreams/wvstreamsdebuggerserver.cc:6: > ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const': > ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will > break strict-aliasing rules > ./CXX -c ipstreams/wvtcp > In file included from ./include/wvtcplistener.h:11:0, > from ipstreams/wvtcp.cc:7: > ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const': > ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will > break strict-aliasing rules > ./CXX -c ipstreams/wvudp > In file included from ./include/wvudp.h:10:0, > from ipstreams/wvudp.cc:8: > ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const': > ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will > break strict-aliasing rules > ./CXX -c ipstreams/wvunixdgsocket > In file included from ./include/wvunixdgsocket.h:13:0, > from ipstreams/wvunixdgsocket.cc:1: > ./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const': > ./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will > break strict-aliasing rules > ipstreams/wvunixdgsocket.cc: In constructor > 'WvUnixDGSocket::WvUnixDGSocket(const WvFastString&, bool, int)': > ipstreams/wvunixdgsocket.cc:50:32: error: 'chmod' was not declared in this > scope > make: *** [ipstreams/wvunixdgsocket.o] Error 1 > > I did a google search and found this page > http://code.google.com/p/wvstreams/issues/detail?id=28 I then downloaded the > patch file and edit to work in the T2 build system and got wvstream to > compile. I have attached the patch file. Nice, thanks for the patch. I shortened the name and: Committed revision 39082. PS: If you include a [PATCH] moniker in the Subject: I would have applied it even quicker :-)! René -- René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin http://exactcode.com | http://t2-project.org | http://rene.rebe.de
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
