gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalid position given by Telit HE910-EUG


From: Greg Troxel
Subject: Re: Invalid position given by Telit HE910-EUG
Date: Mon, 06 Apr 2020 20:46:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix)

"Gary E. Miller" <address@hidden> writes:

> I spent some time googling, and found an idea similar to yours that
> does not need fancy compiler flags:

Thanks for listening

>         #include <time.h>
>
>         int main(int argc, char **argv) {
>             static int test_array[1 - 2 * ((long int) sizeof(time_t) < 8 )];
>             test_array[0] = 0;
>             (void) argc; (void) argv;
>             return 0;
>         }
>
> That fails to compile if sizeof(time_t) < 8.
>
> Cute huh?  Fix pushed.

Somewhere between cute and sick.

> Any other C cross-compile issues?  I know there are some Python ones left.

I'm not trying to cross compile at the moment.  My previous cross stuff
was because of $DAYJOB[2008] which cared at the moment.

<baiting>Basically don't use AC_TRY_RUN :-)</>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]