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

We need to reference uint_* types with namespace #1261

Closed
FooBarWidget opened this Issue Aug 11, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@FooBarWidget
Member

FooBarWidget commented Aug 11, 2014

Someone on Gentoo gets compilation errors like this:

In file included from ext/common/MessageServer.h:51:0,
                 from ext/common/Utils.cpp:54:
ext/common/Utils/MessageIO.h:121:20: error: reference to 'uint16_t' is ambiguous
/usr/include/stdint.h:49:28: error: candidates are: typedef short unsigned int uint16_t
ext/boost/cstdint.hpp:234:30: error:                 typedef short unsigned int boost::uint16_t
ext/common/Utils/MessageIO.h:121:20: error: 'uint16_t' has not been declared
ext/common/Utils/MessageIO.h: In function 'bool Passenger::readUint16(int, int&, long long unsigned int*)':
ext/common/Utils/MessageIO.h:122:2: error: reference to 'uint16_t' is ambiguous
/usr/include/stdint.h:49:28: error: candidates are: typedef short unsigned int uint16_t
ext/boost/cstdint.hpp:234:30: error:                 typedef short unsigned int boost::uint16_t
ext/common/Utils/MessageIO.h:122:11: error: expected ';' before 'temp'
ext/common/Utils/MessageIO.h:124:21: error: 'temp' was not declared in this scope
ext/common/Utils/MessageIO.h:124:34: error: reference to 'uint16_t' is ambiguous
/usr/include/stdint.h:49:28: error: candidates are: typedef short unsigned int uint16_t

See https://groups.google.com/d/msg/phusion-passenger/AF6IDpdLX-0/fCzccvsYl4oJ

@FooBarWidget FooBarWidget added this to the 4.0.49 milestone Aug 11, 2014

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