The first error is the one that matters. Usually all the rest are side-effects of the first one.
Sorry but I can't debug this for you. You'll need to dig in a little more and figure out which name conflict is causing the error. Usually, it's because the Windows headers have #defined a macro that collides with an enum or constant declaration in capnp. BTW, I noticed your code doesn't include windows.h, but only some other windows headers. You should probably include windows.h too. It might be that kj/windows-sanity.h only works after windows.h has been included... -Kenton On Sun, Jun 14, 2020 at 11:27 AM 김동인 <[email protected]> wrote: > There are a punch of Error Messages > > so. i have attached source codes in my test project. > > my environment is VS2019. > > and this is some of error messages. thank you > > [image: 주석 2020-06-15 012305.png] > > -- > You received this message because you are subscribed to the Google Groups > "Cap'n Proto" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/capnproto/dea6b451-10a4-474f-8a4d-9fdda45cdf6do%40googlegroups.com > <https://groups.google.com/d/msgid/capnproto/dea6b451-10a4-474f-8a4d-9fdda45cdf6do%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAJouXQmAAf7jjg47D8GqH9jG7NaNJPwvUOKJfPEJcw%3DuV3SCRA%40mail.gmail.com.
