Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90230 Details for
Bug 116030
GCC 4 fixes for app-accessibility/{speech-tools,festival}
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sizes.c - type size checker
sizes.c (text/plain), 844 bytes, created by
Wiktor Wandachowicz
on 2006-06-26 17:53:56 UTC
(
hide
)
Description:
sizes.c - type size checker
Filename:
MIME Type:
Creator:
Wiktor Wandachowicz
Created:
2006-06-26 17:53:56 UTC
Size:
844 bytes
patch
obsolete
>#include <stdio.h> > >int main() >{ > void *ptr = 0; > char char_val = '\0'; > short short_val = 0; > int int_val = 0; > long long_val = 0; > long long llong_val = 0; > float float_val = 0.0; > double double_val = 0.0; > long double ldouble_val = 0.0; > > printf("Sizes in bytes\n"); > printf(" * pointer types: %d\n", sizeof(ptr)); > printf(" * char type: %d\n", sizeof(char_val)); > printf(" * short type: %d\n", sizeof(short_val)); > printf(" * int type: %d\n", sizeof(int_val)); > printf(" * long type: %d\n", sizeof(long_val)); > printf(" * long long: %d\n", sizeof(llong_val)); > printf(" * float type: %d\n", sizeof(float_val)); > printf(" * double type: %d\n", sizeof(double_val)); > printf(" * long double: %d\n", sizeof(ldouble_val)); > > return 0; >}
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 116030
:
75084
|
75085
|
75086
|
75087
|
75088
|
82632
|
82633
|
87873
|
88397
| 90230 |
90266
|
92360
|
93452
|
93453
|
93454
|
93455
|
93456
|
96369