#40590: poppler @0.24.1: error: expected ';' after top level declarator -------------------------------+---------------------- Reporter: carmine.ventre@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: poppler | -------------------------------+---------------------- Comment (by devans@…): I just tried rebuilding poppler without any problem using the new glib2 as well. However, I'm thinking this is a glib2 problem. gmessages.h shows this code at near line 192: {{{ #else /* no varargs macros */ static void g_error (const gchar *format, ...) G_ANALYZER_NORETURN { va_list args; va_start (args, format); g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args); va_end (args); for(;;) ; } }}} and G_ANALYZER_NORETURN is defined in glib/gmacros.h as {{{ #define G_ANALYZER_NORETURN __attribute__((analyzer_noreturn)) }}} So it does look as though there is a missing semicolon here (and for g_critical same file as well). This code is for the case of "no varargs macros" so could be platform specific. Compare to this declaration (also in gmessages.h) {{{ GLIB_AVAILABLE_IN_ALL void g_return_if_fail_warning (const char *log_domain, const char *pretty_function, const char *expression) G_ANALYZER_NORETURN; }}} I'm building on 10.8.5 with Xcode 5.0. -- Ticket URL: <https://trac.macports.org/ticket/40590#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X