Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libbsvg/SVGDefs.h:121: conflicting types for `enum rule_t B_NONZERO' #1

Open
diversys opened this issue Oct 1, 2014 · 1 comment
Open

Comments

@diversys
Copy link

diversys commented Oct 1, 2014

When I try to compile libbsvg I get this error:

make
[ -d objects.x86-gcc2-release ] || mkdir objects.x86-gcc2-release > /dev/null 2>&1;
mkdepend -I./ -p .cpp:objects.x86-gcc2-release/%n.o -m -f "objects.x86-gcc2-release/SVGElement.d" SVGElement.cpp
g++ -c CSSParser.cpp -I./ -I- -O3 -o "objects.x86-gcc2-release/CSSParser.o"
In file included from /boot/home/libbsvg/CSSParser.h:6,
from /boot/home/libbsvg/CSSParser.cpp:1:
/boot/home/libbsvg/SVGDefs.h:121: conflicting types for enum rule_t B_NONZERO' /boot/system/develop/headers/os/interface/InterfaceDefs.h:269: previous declaration asenum {anonymous} B_NONZERO'
make: *** [objects.x86-gcc2-release/CSSParser.o] Error 1

@mmlr
Copy link
Owner

mmlr commented Oct 1, 2014

This is a conflict with the additions of fill rules to BView drawing. It can be hacked around, however the better way would be to actually make use of the new BView capabilities. Doing so is unfortunately non-trivial as the way the internal BSVG drawing works is exactly the other way around to support other types of paint servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants