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

Doesn't build under VS2008 #1

Closed
alanxz opened this issue Mar 5, 2012 · 4 comments
Closed

Doesn't build under VS2008 #1

alanxz opened this issue Mar 5, 2012 · 4 comments
Assignees

Comments

@alanxz
Copy link
Owner

alanxz commented Mar 5, 2012

Library doesn't compile under VS2008 because its missing typedefs for uint#_t 's.

Looks like I'm using boost/cstdint.h incorrectly as all of the typedefs are in the boost:: namespace.

Workaround (untested) for the moment is to include msinttypes before including any SimpleAmqpClient header.

@ghost ghost assigned alanxz Mar 5, 2012
@ericholtman
Copy link

I'll be watching this issue, and will test VS 2008 if you don't have a test install available

@alanxz
Copy link
Owner Author

alanxz commented Mar 6, 2012

Put together a 2008 test environment, built and tested it.

I've fixed it in #2

Note the requirement to pull and build a newer version of rabbitmq-c

@alanxz alanxz closed this as completed Mar 6, 2012
@ericholtman
Copy link

Thanks for the update!

It builds, but I still get two warnings:

1>AmqpException.cpp
1>C:\Program Files\rabbitmq-c\include\stdint.h(241) : warning C4005: 'INTMAX_C' : macro redefinition
1> C:\Program Files\boost\boost_1_47\boost/cstdint.hpp(423) : see previous definition of 'INTMAX_C'
1>C:\Program Files\rabbitmq-c\include\stdint.h(242) : warning C4005: 'UINTMAX_C' : macro redefinition
1> C:\Program Files\boost\boost_1_47\boost/cstdint.hpp(424) : see previous definition of 'UINTMAX_C'

Pretty sure I grabbed the correct newer rabbitmq-c (it
did install stdint.h along with amqp.h and amqp_framing.h,
which it didn't used to do).

@alanxz
Copy link
Owner Author

alanxz commented Mar 7, 2012

I guess i missed the AmqpException.cpp file when doing the header includes rearrangement. It should now be fixed as of @4b99ea9

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

No branches or pull requests

2 participants