On 1/25/19, Jonathan Wakely wrote:
> On Fri, 25 Jan 2019 at 13:48, Warren D Smith wrote:
>>
>> "foo" is a type that is a struct containing a uint64_t field x[4]
>> (among other things).
>>
>> bool Proc( const foo *dog ){
>>uint64_t *a, *b;
>>a = dog->x; // pointer a now points to dog->
On Fri, 25 Jan 2019 at 13:48, Warren D Smith wrote:
>
> "foo" is a type that is a struct containing a uint64_t field x[4]
> (among other things).
>
> bool Proc( const foo *dog ){
>uint64_t *a, *b;
>a = dog->x; // pointer a now points to dog->x[0]
>b = something else;
>if( *a ==
"foo" is a type that is a struct containing a uint64_t field x[4]
(among other things).
bool Proc( const foo *dog ){
uint64_t *a, *b;
a = dog->x; // pointer a now points to dog->x[0]
b = something else;
if( *a == *b ) return(TRUE);
return(FALSE);
}
Now gcc complains
warning: ass