sonkarmanish / mod-spdy

Automatically exported from code.google.com/p/mod-spdy
0 stars 0 forks source link

mod_spdy compile failure on debian 6.0 i386 #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
mod_spdy 0.9.3.1 r370 fails to compile on a 32bit debian squeeze system due to 
a warning in http_response_parser_test.cc:270 and the use of -Werror. 

  CXX(target) out/Release/obj.target/spdy_common_test/mod_spdy/common/http_response_parser_test.o
cc1plus: warnings being treated as errors
mod_spdy/common/http_response_parser_test.cc:270: error: integer constant is 
too large for ‘unsigned long’ type
mod_spdy/common/http_response_parser_test.cc:270: error: integer constant is 
too large for ‘unsigned long’ type
  CXX(target) out/Release/obj.target/spdy_common_test/mod_spdy/common/spdy_frame_priority_queue_test.o
make[1]: *** 
[out/Release/obj.target/spdy_common_test/mod_spdy/common/http_response_parser_te
st.o] Error 1
make[1]: *** Waiting for unfinished jobs....

Version of Apache used was 2.2.22.

Original issue reported on code.google.com by goo...@7val.com on 14 Sep 2012 at 3:13

GoogleCodeExporter commented 9 years ago
Oops, good catch.  That constant should probably be 5497558138843uLL instead of 
5497558138843uL.

I'll try to get that verified and fixed soon.  In the meantime it should be 
easy to work around by making that change manually.

Original comment by mdste...@google.com on 14 Sep 2012 at 3:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed in trunk in r371.

Original comment by mdste...@google.com on 19 Sep 2012 at 3:30