OVH Cloud OVH Cloud

question

2 réponses
Avatar
romain
Ou se trouve la structure time_t ??
Gcc me sort un : storage size of 'tv' isn't known

la ligne incriminée : struct time_t tv;

merci, romain.

2 réponses

Avatar
Patrick Stadelmann
In article <3f72fa64$0$20655$,
"romain" wrote:

Ou se trouve la structure time_t ??


time_t existe, mais ce n'est pas une structure. Sur Mac OS X c'est un
entier signé de 32 bit (ie un 'long').

Gcc me sort un : storage size of 'tv' isn't known

la ligne incriminée : struct time_t tv;


Essaye d'enlever le 'struct'

Patrick
--
Patrick Stadelmann

Avatar
Éric Lévénez
Le 25/09/03 16:20, dans <3f72fa64$0$20655$, « romain »
a écrit :

Ou se trouve la structure time_t ??
Gcc me sort un : storage size of 'tv' isn't known

la ligne incriminée : struct time_t tv;


En C, time_t est un type, pas une structure, donc pas de "struct".

--
Éric Lévénez -- <http://www.levenez.com>
Unix is not only an OS, it's a way of life.