MSVC project fails to compile - size_t redefinition #60

Closed
LB-- opened this Issue Dec 4, 2012 · 5 comments

Projects

None yet

3 participants

@LB--
Contributor
LB-- commented Dec 4, 2012
lacewing\src\webserver\http\../../../deps/http-parser/http_parser.h(41) : error C2371: 'size_t' : redefinition; different basic types
        predefined C++ types (compiler internal)(19) : see declaration of 'size_t'

I wasn't sure whether to post the issue here or in multipart parser. This happens on all four build configurations.

@SortaCore

This looks like the same error/warning as my benign warning from issue #58.

@LB--
Contributor
LB-- commented Dec 4, 2012

I didn't have the problem in earlier versions of Lacewing (such as the one I used when I told you it compiled fine). I'll try and find which commit caused the problem using git bisect when I have some time.

@udp
Owner
udp commented Dec 10, 2012

Seems to only affect VC 2008 or earlier?

@udp
Owner
udp commented Dec 10, 2012

Can you confirm this is fixed by 88b5951?

@LB--
Contributor
LB-- commented Dec 11, 2012

Yes, everything is working now. Thanks!

@LB-- LB-- closed this Dec 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment