Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 210706 Details for
Bug 293840
net-misc/openvpn-2.1_rc21 fails to compile with gcc-4.4.2 when '-maltivec' is in CFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
compilatin testcase
buffer.c (text/plain), 604 bytes, created by
Jan Scholz
on 2009-11-20 12:48:17 UTC
(
hide
)
Description:
compilatin testcase
Filename:
MIME Type:
Creator:
Jan Scholz
Created:
2009-11-20 12:48:17 UTC
Size:
604 bytes
patch
obsolete
>/* >with gcc-4.4.2 this file is compiled without complains by: >gcc -mno-altivec -c buffer.c > >if '-maltivec' is set compilation fails: >gcc -maltivec -c buffer.c >-> buffer.c:27: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âopenvpn_thread_enabledâ >*/ > >/* including stdbool.h fixes the -maltivec compile issue */ >/*#include <stdbool.h>*/ >/* bool definitions */ >#ifndef bool >#warning defining bool >#define bool int >#endif > >#ifndef true >#define true 1 >#endif > >#ifndef false >#define false 0 >#endif > >static inline bool >openvpn_thread_enabled (void) >{ > return false; >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 293840
: 210706 |
210708
|
210709
|
215272