compile error when building with granite

Bug #980355 reported by natano
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
Undecided
Unassigned

Bug Description

I use "./waf configure -d <level> --enable-gtk3" to configure.
The build produces different compile errors on different debug levels.

Tags: granite gtk3
Revision history for this message
natano (natanoptacek) wrote :
Revision history for this message
natano (natanoptacek) wrote :
Cris Dywan (kalikiana)
tags: added: granite gtk3
Changed in midori:
status: New → Confirmed
Revision history for this message
Johannes Sasongko (sjohannes) wrote :

This is because

{{{
#ifdef HAVE_GRANITE
#include <granite.h>
#endif

/* ... */

#include <config.h>
}}}

Attached is a fix.

(As an aside, shouldn't this problem affect anyone testing with Granite enabled?)

Revision history for this message
Cris Dywan (kalikiana) wrote :

I don't know why I'm not hitting this, I can only assume different compiler versions end up reading the files in different order. The patch makes complete sense, thanks a lot!

Changed in midori:
status: Confirmed → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.