我寻找它是因为我的服务器协议有一些数据类型,所以我需要实现它们的类,并将它们转换为字节。这就是我所做的,它产生了错误:#define _PACKET_DATA_TYPES class mcp_t::int { //ERROR: expected an identifier
}如果这是不可能的,命名空间在这里似乎有点无用--无论如何我都将被迫使用mcp_int。
我目前正在开发一个Android应用程序,虽然在Jelly Bean模拟器上一切正常,但在2.2模拟器上我得到了以下错误:10-11 22:26:35.853: E/AndroidRuntime(303): at android.view.View.layout(View.java:7035)
10-1110-11 22:26:35.853: E/AndroidRuntime(303): at
编辑:我相信这是我的logcat输出,对不起,文字墙:10-1140:49.260: E/AndroidRuntime(561): at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:3939)
1049.260: E/AndroidRuntime(561): at android.view.ViewRoo
它提示我这个错误10-11 08:41:43.169: E/AndroidRuntimeAndroidRuntime(825): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983)
10/AndroidRuntime(825): at android.app.Activity
-11 11:27:39.138: W/System.err(11510): Relevant discussions can be found on the Internet at:10-11 11:27:39.138: W/System.err(11510): http://www.google.co.jp/search?q=11331d52
10-11 11:27:39.138: W/System.err(11510): T