cl.exe

a problem with cl.exe and ml.exe

时光毁灭记忆、已成空白 提交于 2019-11-27 07:03:52
问题 I used cl command to compile a cpp file: cl test.cpp //the generated test.exe can work well then I used another way: cl /Fa /c test.cpp //generate a test.asm assembly file ml test.asm // there failed!!! why? How to solve it? source code: //:test.cpp #include<iostream> using namespace std; int main() { cout<<"hello\n"; } wrong information: Assembling: test.asm test.asm(1669) : fatal error A1010: unmatched block nesting : ??$?6U?$char_trait s@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D