Public bug reported:

Binary package hint: guile-1.6-dev

The macro gh_init from /usr/include/guile/gh.h has a syntax error that
becomes aparent when you try to use it.

C code
#include <guile/gh.h>
void main()
{
    gh_init();
}

results in 
error: syntax error before ‘)’ token
error: command 'gcc' failed with exit status 1

$ gcc --version
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

The macro definition is:
#define gh_init () scm_init_guile ()
The space after gh_init is the problem, it should really be 
#define gh_init() scm_init_guile ()

** Affects: guile-1.6 (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
macro gh_init from /usr/include/guile/gh.h has a syntax error
https://launchpad.net/bugs/49627

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to