Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot compile with gcc 4.8 #81

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments
Open

cannot compile with gcc 4.8 #81

GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What version/revision number of mod_spdy are you using?
0.9.4.1

What version of Apache are you using, and on what operating system?  (Use
`apache2ctl -v` to check.)
Server version: Apache/2.4.6 (Linux/SUSE)
OS: openSUSE 13.1

What other Apache modules are you using?  (Use `apache2ctl -M` to check.)


What browser version did you use to access the mod_spdy server?  On what
operating system? What flags was the browser invoked with?  (For
Chrome/Chromium, go to about:version to check.)


What steps will reproduce the problem?
1.try to compile mod-spdy with gcc 4.8

What is the expected result? What do you see instead?
I get the following error while compiling:

In file included from third_party/chromium/src/base/string16.h:33:0,
                 from third_party/chromium/src/base/string_piece_unittest.cc:7:
third_party/chromium/src/base/basictypes.h: In function 'Dest bit_cast(const 
Source&)':
third_party/chromium/src/base/basictypes.h:318:16: error: typedef 
'VerifySizesAreEqual' locally defined but not used 
[-Werror=unused-local-typedefs]
   typedef char VerifySizesAreEqual [sizeof(Dest) == sizeof(Source) ? 1 : -1];
                ^
cc1plus: all warnings being treated as errors
make: *** 
[out/Release/obj.target/base_unittests/third_party/chromium/src/base/string_piec
e_unittest.o] Error 1

Original issue reported on code.google.com by [email protected] on 30 Dec 2013 at 7:48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant