摘要: 最近比较关注C++对象的Linkage类型,然后今天突然想起extern数组这个奇葩的东西,稍微折腾了一下,顺手写个随笔。首先在cpp中定义几个数组:1 int extern_array[] = {10,20,30,40,50};2 int extern_array_normal[] = {10,20,30,40,50};3 extern const int extern_array_normal_const[] = {10,20,30,40,50};然后再另一个cpp中使用:extern int* extern_array;extern int extern_array_normal[5]. 阅读全文
posted @ 2014-03-27 23:37 xuyuheng 阅读(9247) 评论(2) 推荐(1)
摘要: 准备1、Python2、Visual Studio3、svn checkout http://google-breakpad.googlecode.com/svn/trunk/ source code编译1、转到google-breakpad根目录下,打开命令行,运行src\tools\gyp\gyp.bat src\client\windows\breakpad_client.gyp --no-circular-check如果不加--no-circular-check 参数,将会看到以下信息:Traceback (most recent call last): File "D:\g 阅读全文
posted @ 2013-08-18 11:13 xuyuheng 阅读(723) 评论(0) 推荐(0)