This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Please help. GNU As syntax for pointers with ANSI C binding in platform independent way.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Oleksandr Gavenko <gavenko at bifit dot com dot ua>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 10 Nov 2010 19:21:34 +0100
- Subject: Re: Please help. GNU As syntax for pointers with ANSI C binding in platform independent way.
- References: <4CDAD453.3040906@bifit.com.ua>
Oleksandr Gavenko <gavenko@bifit.com.ua> writes:
> Also I don't understand way I can not directly point str_data in
> printf() call. Why I need wrote '&' before 'str_data' in .c:
Because str_data is an array of characters, so you should declare it as
such.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."