lisa010.c
来自「开放源码的编译器open watcom 1.6.0版的源代码」· C语言 代码 · 共 10 行
C
10 行
void foo( short & );
void bar( void ) {
short a;
foo( (short)a ); // cast yields an rvalue because short is not a reference type
}
// wpp386 b.cpp
// b.cpp(4): Error! E333: col(16) cannot convert argument to type specified in function prototype
// b.cpp(4): Note! N630: col(16) source conversion type is "short"
// b.cpp(4): Note! N631: col(16) target conversion type is "short (lvalue)"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?