[odb-users] new user issue, already tried out the examples
Jim Green
student.northwestern at gmail.com
Wed Jan 11 18:27:59 EST 2012
On 11 January 2012 19:35, Boris Kolpackov <boris at codesynthesis.com> wrote:
> Hi Jim,
>
> Jim Green <student.northwestern at gmail.com> writes:
>
>> when I tried to make test.o in step 1, I get the following error:
>>
>> dev/pkgs/odb/odb-examples-1.7.0.2/hello/person.hxx:13: error: ignoring
>> #pragma db object
>
> I assume you are using GCC (g++) as your C++ compiler. The above message
> is normally a warning (triggered if you specify the -Wall option) but I
> believe you've made GCC treat all warnings as errors (with the -Werror
> option) so the above is an error. There are several ways to get rid of
> this warning/error. The easiest is to pass the -Wno-unknown-pragma
> option to GCC. The other methods are described in Section 12.5, "C++
> Compiler Warnings" in the ODB Manual:
>
> http://www.codesynthesis.com/products/odb/doc/manual.xhtml
Thank you much!
Jim.
>
> Boris
More information about the odb-users
mailing list