Please try with libwapcaplet updated to the latest master.
This commit should fix the problem:
Cheers,
Michael
On Mon, 13 Apr 2020 at 14:31, Ranier Vilela <ranier.vf@gmail.com> wrote:
Hi,I'm trying to compile libcss on windows, with msvc 2019 and the following error is appearing.stylesheet.clibcss\src\parse/language.h(88): error C2059: erro de sintaxe: '{'libcss\src\parse/language.h(88): error C2059: erro de sintaxe: ')'libcss\src\parse/language.h(88): error C2059: erro de sintaxe: '=='libcss\src\parse/language.h(98): error C2059: erro de sintaxe: 'return'libcss\src\parse/language.h(99): error C2059: erro de sintaxe: '}'Msvc 2019, translate tokenIsChar to:static inline _Bool tokenIsChar(const css_token *token, uint8_t c)
{
if (token != ((void *)0) && token->type == CSS_TOKEN_CHAR &&
({(void)( (!!(token->idata != ((void *)0))) || (_wassert(L"token->idata != NULL", L"C:\\usr\\src\\libpdf\\libcss\\src\\parse/language.h", (unsigned)(86)), 0) ); (token->idata)->len;}) == 1) {
char d = ({(void)( (!!(token->idata != ((void *)0))) || (_wassert(L"token->idata != NULL", L"C:\\usr\\src\\libpdf\\libcss\\src\\parse/language.h", (unsigned)(87)), 0) ); (const char *)((token->idata)+1);})[0];
if ('A' <= d && d <= 'Z')
d += 'a' - 'A';
return (d == c);
}
return 0;
}Libcss uses some gcc resource?This is compatible with C99?best regardsRanier Vilela
No comments:
Post a Comment