如何使用_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1等名称重命名重复标签?

时间:2014-04-16 00:51:17

标签: c++ assembly

我正在开发一个程序,它将多个程序集文件合并为一个项目。它适用于大多数情况,但我坚持这个。

组合汇编文件后,当我尝试编译它时,我得到了这些错误:

combined.S: Assembler messages:
combined.S:1513: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:5602: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:15379: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:19894: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:23290: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:25446: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:25854: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:26353: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:33720: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:51959: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:60363: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:61420: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:63286: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:72006: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:88682: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:110804: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:112062: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:112853: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:115062: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2' is already defined
combined.S:115619: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2' is already defined
combined.S:116175: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2' is already defined
combined.S:121514: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:123271: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:123911: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:124522: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:126673: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:127356: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:128014: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:128610: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:132812: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined
combined.S:134749: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2' is already defined
combined.S:140900: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2' is already defined
combined.S:143234: Error: symbol `_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1' is already defined

这是有道理的,因为有重复。如果我只重命名其中一个,那么与之对应的错误就会消失。但是,当我修改所有名称时,我会收到更多错误:

combined.S:110368: Error: invalid operands (.text and .text._ZN5ggBSTI10ggMaterialE17InsertIntoSubtreeERK8ggStringPS0_RP9ggBSTNodeIS0_E sections) for `-'
combined.S:110369: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110371: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110372: Error: invalid operands (.text and .text._ZN5ggBSTI10ggMaterialE17InsertIntoSubtreeERK8ggStringPS0_RP9ggBSTNodeIS0_E sections) for `-'
combined.S:110373: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110375: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110376: Error: invalid operands (.text and .text._ZN5ggBSTI10ggMaterialE17InsertIntoSubtreeERK8ggStringPS0_RP9ggBSTNodeIS0_E sections) for `-'
combined.S:110377: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110379: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110380: Error: invalid operands (.text and .text._ZN5ggBSTI10ggMaterialE17InsertIntoSubtreeERK8ggStringPS0_RP9ggBSTNodeIS0_E sections) for `-'
combined.S:110381: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110383: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110384: Error: invalid operands (.text and .text._ZN5ggBSTI10ggMaterialE17InsertIntoSubtreeERK8ggStringPS0_RP9ggBSTNodeIS0_E sections) for `-'
combined.S:110385: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110387: Error: invalid operands (.text and *UND* sections) for `-'
combined.S:110388: Error: invalid operands (.text and .text._ZN5ggBSTI10ggMaterialE17InsertIntoSubtreeERK8ggStringPS0_RP9ggBSTNodeIS0_E sections) for `-'

几乎每一条线上都出现了这个新问题。我通过将它们所在的程序集文件的文件名附加到.part之前的标签名称来修改名称。下面是具有重复名称的第一个文件与重命名标签的第二个文件之间的差异:

900,901c900,901
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggBox2_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggBox2_s.part.1:
918c918
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggBox2_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggBox2_s.part.1
1512,1513c1512,1513
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggBox3_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggBox3_s.part.1:
1530c1530
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggBox3_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggBox3_s.part.1
5601,5602c5601,5602
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggRGBFPixel_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggRGBFPixel_s.part.1:
5619c5619
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggRGBFPixel_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggRGBFPixel_s.part.1
15378,15379c15378,15379
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggDiffuseMaterial_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggDiffuseMaterial_s.part.1:
15396c15396
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggDiffuseMaterial_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggDiffuseMaterial_s.part.1
17334,17335c17334,17335
<   .type   _Z13areaUnderLineddd.part.2, @function
< _Z13areaUnderLineddd.part.2:
---
>   .type   _Z13areaUnderLinedddggEdgeDiscrepancy_s.part.2, @function
> _Z13areaUnderLinedddggEdgeDiscrepancy_s.part.2:
17608c17608
<   .size   _Z13areaUnderLineddd.part.2, .-_Z13areaUnderLineddd.part.2
---
>   .size   _Z13areaUnderLinedddggEdgeDiscrepancy_s.part.2, .-_Z13areaUnderLinedddggEdgeDiscrepancy_s.part.2
17879c17879
<   call    _Z13areaUnderLineddd.part.2
---
>   call    _Z13areaUnderLinedddggEdgeDiscrepancy_s.part.2
18431c18431
<   jmp _Z13areaUnderLineddd.part.2
---
>   jmp _Z13areaUnderLinedddggEdgeDiscrepancy_s.part.2
19893,19894c19893,19894
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggQuaternion_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggQuaternion_s.part.1:
19911c19911
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggQuaternion_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggQuaternion_s.part.1
23289,23290c23289,23290
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggONB3_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggONB3_s.part.1:
23307c23307
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggONB3_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggONB3_s.part.1
25445,25446c25445,25446
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFrame2_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFrame2_s.part.1:
25463c25463
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFrame2_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFrame2_s.part.1
25853,25854c25853,25854
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFrame3_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFrame3_s.part.1:
25871c25871
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFrame3_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFrame3_s.part.1
26352,26353c26352,26353
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggHMatrix3_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggHMatrix3_s.part.1:
26370c26370
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggHMatrix3_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggHMatrix3_s.part.1
33719,33720c33719,33720
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggRGBE_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggRGBE_s.part.1:
33737c33737
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggRGBE_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggRGBE_s.part.1
51958,51959c51958,51959
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggHPoint3_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggHPoint3_s.part.1:
51976c51976
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggHPoint3_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggHPoint3_s.part.1
60362,60363c60362,60363
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggString_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggString_s.part.1:
60380c60380
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggString_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggString_s.part.1
61141c61141
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggString_s.part.1
61419,61420c61419,61420
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFineSpectrum_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFineSpectrum_s.part.1:
61437c61437
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFineSpectrum_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggFineSpectrum_s.part.1
63285,63286c63285,63286
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggSpectrum_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggSpectrum_s.part.1:
63303c63303
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggSpectrum_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcggSpectrum_s.part.1
65063,65064c65063,65064
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.5, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.5:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.part.5, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.part.5:
65081c65081
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.5, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.5
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.part.5, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.part.5
65083,65084c65083,65084
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16:
65130c65130
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70602c70602
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70621c70621
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70642c70642
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70663c70663
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70673c70673
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70721c70721
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70735c70735
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70857c70857
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70884c70884
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
70892c70892
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
71267c71267
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
71284c71284
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
71294c71294
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
71306c71306
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
71323c71323
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
71340c71340
<   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.constprop.16
---
>   call    _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceon_s.constprop.16
72005,72006c72005,72006
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceonImageCalculator_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceonImageCalculator_s.part.1:
72023c72023
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceonImageCalculator_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKceonImageCalculator_s.part.1
88681,88682c88681,88682
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrGrid_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrGrid_s.part.1:
88699c88699
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrGrid_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrGrid_s.part.1
92675,92676c92675,92676
<   .type   _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40, @function
< _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40:
---
>   .type   _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40, @function
> _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40:
92698c92698
<   .size   _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40, .-_ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40
---
>   .size   _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40, .-_ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40
92701,92702c92701,92702
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrScene_s.part.2, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrScene_s.part.2:
92719c92719
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrScene_s.part.2, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrScene_s.part.2
97233,97234c97233,97234
<   .type   _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.constprop.46, @function
< _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.constprop.46:
---
>   .type   _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.constprop.46, @function
> _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.constprop.46:
97310c97310
<   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40
---
>   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40
97644c97644
<   .size   _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.constprop.46, .-_ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.constprop.46
---
>   .size   _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.constprop.46, .-_ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.constprop.46
97724c97724
<   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40
---
>   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40
102974c102974
<   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.constprop.46
---
>   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.constprop.46
105261c105261
<   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.constprop.46
---
>   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.constprop.46
105320c105320
<   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.constprop.46
---
>   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.constprop.46
105581c105581
<   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40
---
>   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40
105730c105730
<   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40
---
>   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40
105759c105759
<   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_i.part.40
---
>   call    _ZN7mrScene9AddObjectEP9mrSurfaceRK8ggStringS4_imrScene_s.part.40
110803,110804c110803,110804
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrCamera_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrCamera_s.part.1:
110821c110821
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrCamera_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrCamera_s.part.1
112061,112062c112061,112062
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrTriangle_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrTriangle_s.part.1:
112079c112079
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrTriangle_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrTriangle_s.part.1
112852,112853c112852,112853
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrFastTriangle_s.part.1, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrFastTriangle_s.part.1:
112870c112870
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.1
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrFastTriangle_s.part.1, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrFastTriangle_s.part.1
115061,115062c115061,115062
<   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2, @function
< _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2:
---
>   .type   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrXYDisk_s.part.2, @function
> _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrXYDisk_s.part.2:
115079c115079
<   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.part.2
---
>   .size   _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrXYDisk_s.part.2, .-_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmrXYDisk_s.part.2

它也在继续。有没有人知道如何重命名这些标签?如果您还需要其他信息或我应该尝试的其他信息,请告诉我们!

1 个答案:

答案 0 :(得分:1)

使用C ++ demangler找出它的作用:

http://demangler.com/

结果:

std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*).part.1

所以,这是&lt;&lt;&lt;&lt;&lt;&lt;&lt;运营商。这意味着您尝试在程序中两次添加C ++标准库。只包括一次。