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

Yet another binding, and some issues #6

Open
hadrielk opened this issue Mar 29, 2014 · 3 comments
Open

Yet another binding, and some issues #6

hadrielk opened this issue Mar 29, 2014 · 3 comments

Comments

@hadrielk
Copy link

Hi,
This is more of a courtesy message than anything else - I'm not sure if you're still updating lrexlib these days or not. (?)

I write code for an open source tool called Wireshark (wireshark.org), and used lrexlib to expose yet another regex engine type: the Glib regex library, which is basically PCRE under the hood but with a Glib-specific API. I doubt anyone else would want/need such a thing, when they could just use the lrexlib PCRE binding as is; but I needed it because Wireshark gets built with Glib already, but not with PCRE directly, and I didn't want to add more complication to the build process/steps. (Wireshark is quite large and is fairly complicated to build already) If you'd like the Glib binding anyway, let me know and I'll push the latest to my fork of lrexlib and send you a pull request.

But the reason I'm submitting this issue as an issue is we found several compilation errors and warnings when building lrexlib. Some of them are because we have to support Wireshark being built with various compilers on many platforms, and invariably one or another of those is stricter than others for certain C-standard rules. If you'd like to fix those in your lrexlib repository, let me know and I'll push just those changes to a fork and send you a pull request. (i.e., separately from the Glib regex binding if you don't want that)

@rrthomas
Copy link
Owner

I don't think anyone's working on lrexlib actively, but that's no reason not to fix issues! Thanks for writing.

I agree that building against Glib is an odd thing to do with lrexlib; equally it seems pretty harmless to me to add a binding for Glib, since all our bindings are independent. Please do submit a pull request for that.

Equally, I'm happy for patches for compilation errors and warnings. Please submit a pull request for those too (preferably a separate one).

@rrthomas
Copy link
Owner

rrthomas commented Aug 5, 2014

Ping @hadrielk ?

@Lekensteyn
Copy link

AFAICS this is a change that is worth applying now:

These sqelch some compiler warnings due to type mismatches:

By the way, the GLib binding in Wireshark suffers from some compatibility issues with PCRE 8.35
https://bugzilla.gnome.org/show_bug.cgi?id=733325
http://www.pcre.org/original/changelog.txt

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

3 participants