Summary: | dbus glib bindings fail with c++ | ||
---|---|---|---|
Product: | dbus | Reporter: | Don Scorgie <Don> |
Component: | GLib | Assignee: | Rob Taylor <rob.taylor> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | chpe |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
A simple program that demonstrates the problem
fix |
Description
Don Scorgie
2006-03-23 05:58:01 UTC
Created attachment 5024 [details]
A simple program that demonstrates the problem
Save file as silly.cpp
compile with
g++ -o silly silly.cpp `pkg-config --cflags --libs dbus-glib-1`
Watch errors appear
Rename silly.cpp to silly.c and recompile with:
gcc-o silly silly.c `pkg-config --cflags --libs dbus-glib-1`
watch it compile cleanly.
Created attachment 7380 [details] [review] fix This fixes dbus-binding-tool to generate C++ compatible bindings. Fixed in git head. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.