Re: Error while compilling (gtkmm.h:25)



On 10/25/07, Daniel Tiziani <dtiziani gmail com> wrote:
> It's strange, the linux distro I'm using has not been updated for like a
> month, and it was working until last week. Now it's giving this error when
> I'm trying to compile.
>
> /usr/include/gtkmm-2.4/gtkmm.h:25: error: expected constructor, destructor,
> or type conversion before 'extern'
>
> Anyone have some ideia of what can this be?

my best guess is that some file you're including before gtkmm.h forgot
to close a brace or is missing a semicolon (did you check that you
have semicolons after all of your class Foo {}; or struct Foo {};
declarations?)

-- 
jonner


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]