Since 5/7/2012 9:16:29 AM, aeibach1 has written 10 articles and participated in 37 conversations. aeibach1 signature: aeibach1
aeibach1's articles:
Items(10) /1
inline trouble with -std=gnu99 (gcc)4662 (10/6/2009 6:55:19 AM) comp.lang.c Hi, me again. This "project" (lol) compiles without any warnings if -std=gnu99 is NOT specified. However, once it is specified, the inline function is treated as if not there. line: gcc -o a.exe -O2 -Wall -... Andreas
union inside struct - how to get rid of "ISO C" warning? #2733 (10/6/2009 12:53:47 AM) comp.lang.c Hi there, got some tricky problem here: (at least if I want to write good ISO C code) typedef struct { union { USHORT byte [512]; ULONG lword[512/4]; }; } raw_s; Of course, when ... Andreas
union inside struct - how to get rid of "ISO C" warning?525 (10/6/2009 12:48:54 AM) comp.lang.c Hi there, got some tricky problem here: (at least if I want to write good ISO C code) typedef struct { union { USHORT byte [512]; ULONG word [512/2]; ULONG blklword[512/4]; ... Andreas
'The system cannot execute the specified program' (again)1253 (11/8/2008 12:13:43 AM) comp.os.msdos.djgpp Hi, after a little odyssey in the net, I've finally found the culprit why my batch-capable small C application does not accept longer lines than (about) 189/190 characters, which makes it very unusable for rec... Andreas
Warning when comparing char[] to a #define'd string1323 (11/7/2008 5:49:37 PM) comp.lang.c Hi, let's say I have this: #include #define BLAH "foo" Later on, I do this: unsigned char yadda [10]; /* ... get a couple of bytes ( = string) from buffer ... */ if (strcmp (BLAH, yadda) == 0) { printf ... Andreas
Arrays as function parameters and sizeof()327 (10/31/2008 9:37:24 PM) comp.lang.c Hi, when I had in mind to turn this code (which worked fine in main()) to a separate function, I stumbled upon this...(of course, it's way bigger than that, but I hope this short snippet can demonstrate the is... Andreas
Freeing memory for nested structures2823 (10/28/2008 8:32:40 PM) comp.lang.c Hi again, one of the other big woes I'm having... typedef struct perBlockStru /* (structure) Long words per block */ { unsigned long *lword[LASTLW]; } lwperBlockStru_t; typedef st... Andreas
printf warning: "format %08x expects format unsigned int ..."1525 (10/27/2008 9:10:06 PM) comp.lang.c .... but I have an unsigned long value in the printf. This warning came when I used gcc 4.x to compile. .... unsigned long offset = 0; .... Well OK, an "easy" way would be instead of printf ("eof found at off... Andreas
Trying out Typo3 CMS ... no LZW GIF compression?217 (5/22/2007 5:01:50 AM) comp.lang.php Hi there, does anyone of you guys use Typo3? I simply do not understand that there is no LZW GIF compression possible in the GD dll shipped with PHP 5.2.2 (win32). I assumed this DLL is newer than GDLib 2.0.3... Andreas
inline trouble with -std=gnu99 (gcc)4662 (10/6/2009 6:55:19 AM) comp.lang.c Hi, me again. This "project" (lol) compiles without any warnings if -std=gnu99 is NOT specified. However, once it is specified, the inline function is treated as if not there. line: gcc -o a.exe -O2 -Wall -... aeibach1(47)
/*Apologize [OT]*/525 (12/15/2008 6:13:36 PM) comp.lang.c Hi, #define Off_Topic /* Some days ago during a discussion [1] I made some posts which seemed to annoy Mr James Kuyper and Mr Nick Keighley. For that I apologize again ; I did not really mean to. I ask them ... c.prog.fan(16)
Warning when comparing char[] to a #define'd string1323 (11/7/2008 5:49:37 PM) comp.lang.c Hi, let's say I have this: #include #define BLAH "foo" Later on, I do this: unsigned char yadda [10]; /* ... get a couple of bytes ( = string) from buffer ... */ if (strcmp (BLAH, yadda) == 0) { printf ... aeibach1(47)
C Question #51538 (11/7/2008 4:45:22 PM) comp.lang.c HI, I am confused of storing capacity in our primitivetypes. I delcared like that way.. #include main() { int a=0xFFFFFFFF; printf("The hex value:%x\n",a); printf("The dec value :%d",a); } Ans is showin... chinmoy.chittaranjan(9)
Arrays as function parameters and sizeof()327 (10/31/2008 9:37:24 PM) comp.lang.c Hi, when I had in mind to turn this code (which worked fine in main()) to a separate function, I stumbled upon this...(of course, it's way bigger than that, but I hope this short snippet can demonstrate the is... aeibach1(47)
(part 4) Dick Heathfield's book errors435 (10/29/2008 6:50:08 PM) comp.lang.c No errors to report here. It's hard work taking the nitpick microscope to the CLC Clique's book, but someone has to do it. It's occurred to me I haven't properly introduced myself. /* * 5-1-2-2-3.c * Han ... nobody15(1231)
(part 3) Dick Heathfield's book errors933 (10/29/2008 2:00:05 PM) comp.lang.c Hey, this is Ajun from a Bangladesh outsource company. Han has hired me to do the English writing for his comp.lang.c posts. The subject line has been changed, which may affect archival consistency, so if you... nobody15(1231)
Freeing memory for nested structures2823 (10/28/2008 8:32:40 PM) comp.lang.c Hi again, one of the other big woes I'm having... typedef struct perBlockStru /* (structure) Long words per block */ { unsigned long *lword[LASTLW]; } lwperBlockStru_t; typedef st... aeibach1(47)