ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/11/20/22:13:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
b=ottpegPftUqMaLUPoBIaC0C4KknucIdmS/fBcw9P6F+W2aJ1rQACQ1Tvi6K9T6Zr+CXF+tO9Bgryz75uJv7SMNKD9Sr7DKtel17ZfxyNcmQ+0nZKDj1Za6lTV2iCQxnCt3TqQJSEcpKwr3Xv9VdK2sObqYcVUQbVH+CS0iApSAQ=
Message-ID: <7705c9030611201911j368be1a6m34e6eb1860708cea@mail.gmail.com>
Date: Mon, 20 Nov 2006 19:11:50 -0800
From: "Blair Campbell" <blairdude AT gmail DOT com>
To: djgpp AT delorie DOT com
Subject: Re: timeb.h compilation PB
In-Reply-To: <45622350$0$3739$426a34cc@news.free.fr>
MIME-Version: 1.0
References: <45622350$0$3739$426a34cc AT news DOT free DOT fr>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

timeb needs to be prefixed with "struct "

On 11/20/06, Martin Boulte <martin DOT boulte AT free DOT fr> wrote:
> Good evening, all.
> I try to use use time_b structure in a program. Although I include
> <sys/timeb.h> I got compilation mistake.
> Which include does it miss ?
>
> my program header :
>
> #include <stdio.h>
> #include <sys/timeb.h>
>
>
> main(argc,argv)
>
> int argc;
> char *argv[];
>
> {
> int i,ratioRalentissement, calculatedIndex;
> int duration, testedDuration;
> timeb beginingDate, endingDate;
>
> error message :
>
> C:/Workshop/Snake/Chronometre/chronometre.c: In function `main':
> C:/Workshop/Snake/Chronometre/chronometre.c:13: `timeb' undeclared (first
> use in this function)
>
> Thanks
>
>
>


-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019