⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dllimport3.c

📁 gcc-you can use this code to learn something about gcc, and inquire further into linux,
💻 C
字号:
// { dg-do compile { target i?86-*-cygwin* i?86-*-mingw*} }// PR 10148  Dllimport attribute of object is overriden by later// redefinition without attribute. struct Foo {     int a; }; __attribute__((dllimport)) struct Foo f; void Bar(void) {     void* dummy = &f; } struct Foo f;	// { dg-warning "defined" }// Dllimport sets DECL_NON_ADDR_CONST_P to 1, so following// assignment would require static_initialization_and_destruction// if attribute is retained.  void* dummy = &f; 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -