[Dev] Two small patches.
Stephen Sinclair
sinclair at music.mcgill.ca
Sat Jul 5 06:14:33 BST 2008
Hi!
Got a couple of library patches here.
1) I use --prefix a lot when configuring compiled programs, so I
noticed that the configured prefix wasn't being searched properly.
This adds a define to config.h called INSTALL_PREFIX, and adds it to
the paths defined in integra_helper.h.
2) I noticed that you use the word 'class' as a member of various
structures. This makes it difficult to link against any C++ library,
since it's a reserved word. The included patch just prepends an
underscore wherever necessary to get the headers to compile with g++.
There might be a better choice of course..
I'll be happy to commit these myself if there's no issues.
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Assign-default-paths-according-to-configured-install.patch
Type: text/x-diff
Size: 2373 bytes
Desc: not available
Url : http://integralive.org/pipermail/dev_integralive.org/attachments/20080705/d5ec1f1a/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Replace-the-word-class-with-_class-in-Integra-he.patch
Type: text/x-diff
Size: 12265 bytes
Desc: not available
Url : http://integralive.org/pipermail/dev_integralive.org/attachments/20080705/d5ec1f1a/attachment-0001.bin
More information about the Dev
mailing list