Re: [gnome-db] recent GSEAL addition

Murray Cumming <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <1321396669.2064.5.camel@localhost>
On Mon, 2011-11-14 at 12:38 -0600, Daniel Espinosa wrote:
> Ok.
> 
> Following with GdaNumeric sealing I've commit a patch to make
> GSEAL_ENABLE take effect using:
> 
> make CFLAGS+="-DGSEAL_ENABLE=1"
> 
> with it I've found an fixed internal SQLite and PostgreSQL providers.
> Others must be fixed when required (I didn't because I don't have them
> installed)

I noticed that libgda/handlers/gda-handler-numerical.c still uses
GdaNumeric's struct definition:

  GdaNumeric numeric;
  ...
  numeric.precision = 0;
  numeric.width = 0;

I noticed this when using the --enable-warnings=max option with autogen.
I already added -DGSEAL_ENABLE to that in git master. That shows me:

gda-handler-numerical.c: In function
'gda_handler_numerical_get_value_from_str':
gda-handler-numerical.c:265:14: error: storage size of 'numeric' isn't
known

-- 
[email protected]
www.murrayc.com
www.openismus.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.