Public bug reported:

Binary package hint: libnewmat10-dev

I'm using the package libnewmat10-dev 1.10.4-2build1 and have run into a
problem compiling against it.  The problem stems from the inclusion of
config.h into the installed headers.  (Line 10 of include.h)  This was
discovered as a problem when I had another gnu autotools install that
installed and included it's own config.h.  The names didn't conflict
since they were in subdirctories, but the #defines did and prevented
compilation.

It is my impression that the config.h is only necessary for compiling
the library and not for compiling programs to link against the library,
for if they need it they will have their own config.h which will be
generated with it's own configure script.

If possible I would like to remove line 10 of include.h and possibly not
have config.h included in the package installation.  I have commented
out line 10 in my installed version and everything compiles.  This
either needs to be done after compiling the library since the library
needs the config.h.  Another solution that is more work, but wouldn't
require modifying things after compile is to include config.h in the cpp
files instead of the header files so that it will not be included by
external programs using newmat headers.

I"m running Gutsy 7.10.

** Affects: newmat (Ubuntu)
     Importance: Undecided
         Status: New

-- 
newmat10-dev installs SickConfig.h and includes it in the headers which can 
cause conflicts
https://bugs.launchpad.net/bugs/204338
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to