gnupic: Rep:Re: Missing #include in gputils (gpreadhex.h)


Previous by date: 29 Jan 2003 21:31:56 -0000 Re: Missing #include in gputils (gpreadhex.h), Craig Franklin
Next by date: 29 Jan 2003 21:31:56 -0000 Rep:Re: Missing #include in gputils (gpreadhex.h), Carlos Nieves
Previous in thread:
Next in thread: 29 Jan 2003 21:31:56 -0000 Rep:Re: Missing #include in gputils (gpreadhex.h), Carlos Nieves

Subject: Rep:Re: Missing #include in gputils (gpreadhex.h)
From: "Carlos Nieves" ####@####.####
Date: 29 Jan 2003 21:31:56 -0000
Message-Id: <200301292113.1f11@th00.opsion.fr>

I suppose I should use libgputils.h, but I only need hex file support,
so I just picked up as less files as I could.
Thanks for the advices.

Carlos

-----Mensaje original-----
De: Craig Franklin ####@####.####
Para: Carlos Nieves Onega ####@####.####
Fecha: 29/01/03
Asunto: Re: Missing #include in gputils (gpreadhex.h)

It's not really an error.  I intended users to #include "libgputils.h",
if they wanted to use the library.  If you do this, checkout the latest
stuff in cvs.

A warning to those that choose to use the library: I frequently make
changes to the content and interface of the library to better serve
gputils.  If you use the library, don't be surprised if things change in
the future.

Carlos Nieves Onega wrote:
> 
> Hi,
> I just wanted to read hex files in other program, so I pick up
> gpreadhex*, gpmemory*, and stdhdr.h from gputils (directory
libgputils)
> to do it.
> I got a compilation error in gpreadhex.h, complaining about "enum
> formats" use in struct hex_data (it was not defined). So I just added
a
> #include "gpwritehex.h" in gpreadhex.h, and pick up gpwritehex*, as
> follows:
> 
> --- ../../temp/gputils-0.10.6/libgputils/gpreadhex.h    2002-01-13
> 18:24:45.000000000 +0100
> +++ gpreadhex.h 2003-01-28 22:15:39.000000000 +0100
> @@ -21,6 +21,8 @@
>  #ifndef __GPREADHEX_H__
>  #define __GPREADHEX_H__
> 
> +#include "gpwritehex.h"
> +
>  struct hex_data {
>    enum formats hex_format;
>    int          size;
> ---
> 
> This solved the error. Maybe this will be useful to anyone...
> 
> Regards,
> 
> Carlos
> 
> --
> Carlos Nieves Onega ####@####.####
> 
> ---Publicidad--------------------------------------------------------
> Juega con Ventura24.es, lotería inteligente y multiplica tus
> posibilidades!! http://www.iespana.es/_reloc/email.ventura
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

---Publicidad--------------------------------------------------------
Juega con Ventura24.es, lotería inteligente y multiplica tus
posibilidades!! http://www.iespana.es/_reloc/email.ventura

---Publicidad--------------------------------------------------------
Únete a los miles de sin pareja en Meetic... ¡te vas a enamorar!
http://www.iespana.es/_reloc/email.meetic



Previous by date: 29 Jan 2003 21:31:56 -0000 Re: Missing #include in gputils (gpreadhex.h), Craig Franklin
Next by date: 29 Jan 2003 21:31:56 -0000 Rep:Re: Missing #include in gputils (gpreadhex.h), Carlos Nieves
Previous in thread:
Next in thread: 29 Jan 2003 21:31:56 -0000 Rep:Re: Missing #include in gputils (gpreadhex.h), Carlos Nieves


Powered by ezmlm-browse 0.20.