Day: July 16, 2007

error: expected unqualified-id before ‘const’

Compilando o AmyEdit recebo esta msg de erro:

/usr/include/libintl.h:40: error: expected unqualified-id before ‘const’
/usr/include/libintl.h:40: error: expected `)’ before ‘const’
/usr/include/libintl.h:40: error: expected initializer before ‘const’
/usr/include/libintl.h:45: error: expected unqualified-id before ‘const’
/usr/include/libintl.h:45: error: expected `)’ before ‘const’
/usr/include/libintl.h:45: error: expected initializer before ‘const’

Solucao:

Apos executar o ./configure edite o arquivo src/config.h e acrescente:
#define ENABLE_NLS 1