Commit 28fadb39 authored by Murray Cumming's avatar Murray Cumming
Browse files

Avoid use of deprecated ambiguous Gda::Value API.

parent caf575ad
......@@ -211,12 +211,12 @@ AC_LANG([C])
MM_ARG_ENABLE_WARNINGS([GLOM_WFLAGS],
[-Wall],
[-Wall -Wextra -Wno-missing-field-initializers -DGSEAL_ENABLE],
[G GDK GDK_PIXBUF CAIRO PANGO GTK])
[G GDK GDK_PIXBUF CAIRO PANGO GTK GDA])
AC_LANG([C++])
MM_ARG_ENABLE_WARNINGS([GLOM_WXXFLAGS],
[-Wall],
[-Wall -Wextra -Wno-missing-field-initializers -DGSEAL_ENABLE],
[G GDK GDK_PIXBUF GTK GLIBMM GDKMM CAIROMM PANGOMM GTKMM SIGCXX])
[G GDK GDK_PIXBUF GTK GDA GLIBMM GDKMM CAIROMM PANGOMM GTKMM SIGCXX LIBGDAMM])
AC_CHECK_FUNCS([strptime])
......
......@@ -50,7 +50,7 @@ static bool test(Glom::Document::HostingMode hosting_mode)
}
//Check that some data is as expected:
const Gnome::Gda::Value pk_value(2.0f);
const Gnome::Gda::Value pk_value = Gnome::Gda::Value::create_as_double(2.0l);
const Gnome::Gda::SqlExpr where_clause =
Glom::Utils::build_simple_where_expression(table_name, primary_key_field, pk_value);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment