用VC6 compile 遇到 C2485: 'align' : unrecognized extended attribute

sam88888 2008-04-28 10:07:38
各位大哥有遇到这error 吗

请帮忙

c:\program files\microsoft sdks\windows\v6.0\include\bcrypt.h(110) : error C2485: 'align' : unrecognized extended attribute
c:\program files\microsoft sdks\windows\v6.0\include\bcrypt.h(110) : error C2059: syntax error : '('
c:\program files\microsoft sdks\windows\v6.0\include\bcrypt.h(116) : error C2485: 'align' : unrecognized extended attribute
c:\program files\microsoft sdks\windows\v6.0\include\bcrypt.h(116) : error C2059: syntax error : '('
...全文
956 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
sam88888 2008-05-05
  • 打赏
  • 举报
回复
好的,谢谢大家
sam88888 2008-04-28
  • 打赏
  • 举报
回复
"vc是没有align这种对齐用法的,只有intel c++ compile 才能编译通过.
用#pragma pack(n)基本是一样的,而且是微软的东西"

难道任何VC 真的不能编译通过吗.

aoxixiaojun 2008-04-28
  • 打赏
  • 举报
回复
可能是你的系统不支持align属性

ouyh12345 2008-04-28
  • 打赏
  • 举报
回复
错误行?

包含的头文件列表?

15,466

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 进程/线程/DLL
社区管理员
  • 进程/线程/DLL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧