[GRASS5] int delete;
Thierry Laronde
tlaronde at polynum.com
Mon Mar 8 07:36:16 EST 2004
`delete' is a C++ reserved word.
On Mon, Mar 08, 2004 at 12:20:18PM +0100, Radim Blazek wrote:
> Hi,
>
> I cannot compile C++ code which includes
> extern "C" {dbmi.h}
>
> I get
> /hardmnt/janacek0/ssi/blazek/grass51/dist.i686-pc-linux-gnu/include/dbmi.h:188: declaration
> does not declare anything
> /hardmnt/janacek0/ssi/blazek/grass51/dist.i686-pc-linux-gnu/include/dbmi.h:188: parse
> error before `delete'
>
> The structure in dbmi.h:
> typedef struct _db_table {
> dbString tableName;
> dbString description;
> int numColumns;
> dbColumn * columns;
> int insert;
> int delete;
> } dbTable;
>
> How to solve it?
>
> Radim
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
--
Thierry Laronde (Alceste) <tlaronde at polynum.org>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
More information about the grass-dev
mailing list