Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Compile failure under g++ 4.5 on opensuse 11.3 #24

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 3 comments
Closed

Compile failure under g++ 4.5 on opensuse 11.3 #24

GoogleCodeExporter opened this issue Apr 6, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Comment by cycchow, Today (7 hours ago)
i can't compile it under opensuse 11.3 with the follow error message

/usr/include/c++/4.5/bits/stl_pair.h:77:11: error: ‘std::pair<_T1, 
_T2>::second’ has incomplete type
./net/instaweb/util/public/cache_interface.h:28:7: error: forward declaration 
of ‘struct net_instaweb::SharedString’
make: *** 
[out/Release/obj.target/mod_pagespeed_test/net/instaweb/util/cache_fetcher_test.
o] Error 1

Original issue reported on code.google.com by jmara...@google.com on 5 Nov 2010 at 3:13

@GoogleCodeExporter
Copy link
Author

Original comment by jmara...@google.com on 5 Nov 2010 at 3:14

  • Changed title: Compile failure under g++ 4.5 on opensuse 11.3

@GoogleCodeExporter
Copy link
Author

This also happens for me on Archlinux x64.

gcc version 4.5.0 20100610

Original comment by fellaa...@gmail.com on 5 Nov 2010 at 8:15

@GoogleCodeExporter
Copy link
Author

The specific compile error described above is, we think, fixed because we added 
an include file to ensure that the full definition of SharedString is available 
in this context.

If there are other OpenSuse compiler errors please open a new bug.

Original comment by jmara...@google.com on 17 Nov 2010 at 4:59

  • Changed state: Fixed

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

No branches or pull requests

1 participant