社区讨论

求助,本地编译通过,洛咕蜜汁CE

P5468[NOI2019] 回家路线参与者 3已保存回复 4

讨论操作

快速查看讨论及其快照的属性,并进行相关操作。

当前回复
4 条
当前快照
1 份
快照标识符
@lodlckfv
此快照首次捕获于
2023/10/31 08:29
2 年前
此快照最后确认于
2023/11/06 23:36
2 年前
查看原帖
RT
CPP
返回如下


            No valid executable file was produced by the compiler

/tmp/tmp27gz_1ly/src: 在函数‘long long int read()’中:

/tmp/tmp27gz_1ly/src:127:9: 警告:this ‘if’ clause does not guard... [-Wmisleading-indentation]

         if(ch == '-')

         ^~

/tmp/tmp27gz_1ly/src:129:13: 附注:...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’

             ch = getchar();

             ^~

/usr/bin/ld: ./cc8NntKc.o: in function `main':

src:(.text.startup+0x2d): relocation truncated to fit: R_X86_64_PC32 against symbol `Aa' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x39): relocation truncated to fit: R_X86_64_PC32 against symbol `Bb' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x45): relocation truncated to fit: R_X86_64_PC32 against symbol `Cc' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x58): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x26b): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x2a0): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x2d7): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x2de): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x393): relocation truncated to fit: R_X86_64_PC32 against symbol `Cc' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x39f): relocation truncated to fit: R_X86_64_PC32 against symbol `ed' defined in .bss section in ./cc8NntKc.o

/usr/bin/ld: src:(.text.startup+0x3a6):  从输出所省略的额外重寻址溢出

collect2: 错误:ld 返回 1

回复

4 条回复,欢迎继续交流。

正在加载回复...