sw icon indicating copy to clipboard operation
sw copied to clipboard

fatal error C1057: unexpected end of file in macro expansion

Open rx-ted opened this issue 3 years ago • 4 comments

sw build -static

....... [1744/8207] [org.sw.demo.census.opencensus.cpp-0.4.0]/opencensus/trace/internal/attribute_value.cc [1747/8207] [org.sw.demo.xz_utils.lzma-5.2.4]/src/liblzma/common/alone_encoder.c Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:764, function execute1: When executing: [org.sw.demo.lexxmark.winflexbison.bison-3.7.4]/bison/src/print-graph.c C:/Users/{USER}/.sw/storage/pkg/47/49/7d9e/src/sdir/bison/src/print-graph.c(1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss C:/Users/{USER}/.sw/storage/pkg/47/49/7d9e/src/sdir/bison/src/print-graph.c(87): error C2001: newline in constant C:/Users/{USER}/.sw/storage/pkg/47/49/7d9e/src/sdir/bison/src/print-graph.c(87): fatal error C1057: unexpected end of file in macro expansion command failed: exit code = 2 Total errors: 1

Why is that? How to solve it? I have repeated it many times, but it is the same.

rx-ted avatar May 17 '21 03:05 rx-ted

What is your compiler, os?

egorpugin avatar May 17 '21 04:05 egorpugin

Windows10. I haven't installed CPPAN on my system, so I went to install it and found this problem.燃-------- 原始邮件 --------发件人: Egor Pugin @.>日期: 2021年5月17日周一 12:47收件人: SoftwareNetwork/sw @.>抄送: 燃 @.>, Author @.>主 题: Re: [SoftwareNetwork/sw] fatal error C1057: unexpected end of file in macro expansion (#68) What is your compiler, os?

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

rx-ted avatar May 17 '21 05:05 rx-ted

You can try to download a binary directly from https://software-network.org/client/

egorpugin avatar May 17 '21 09:05 egorpugin

OK, I'll try燃-------- 原始邮件 --------发件人: Egor Pugin @.>日期: 2021年5月17日周一 17:14收件人: SoftwareNetwork/sw @.>抄送: 燃 @.>, Author @.>主 题: Re: [SoftwareNetwork/sw] fatal error C1057: unexpected end of file in macro expansion (#68) You can try to download a binary directly from https://software-network.org/client/

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

rx-ted avatar May 17 '21 09:05 rx-ted