including warp2.h depends on non-existant braindead_msvc.h

Bug #457509 reported by TimSC
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xmorph (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libmorph-dev

I include warp2.h from libmorph-dev
warp2.h includes warp.h
warp.h includes braindead_msvc.h
braindead_msvc.h doesn't exist

It should be possible to include warp2.h without compile errors.

I have a work around that requires root access: comment out the line in warp.h that includes braindead_msvc.h

This appears in the version on Ubuntu 9.04 (which I am currently using) and the package in the 9.10 repo (1:20090606)

Revision history for this message
TimSC (timsc) wrote :

Note that braindead_msvc.h is in the source package but not the dev package.

Revision history for this message
TimSC (timsc) wrote :

This bug is still precent in lucid (Ubuntu 10.10). The package version is libmorph-dev (1:20090926). Error message:

/usr/include/xmorph/warp.h:10:28: error: braindead_msvc.h: No such file or directory

Revision history for this message
Scott Pakin (pakin) wrote :

This bug is still present in Groovy Gorilla (Ubuntu 20.10). The package version is libmorph-dev 1:20140707+nmu2build2. Error message:

$ gcc -c badness.c
In file included from badness.c:1:
/usr/include/xmorph/warp.h:10:10: fatal error: braindead_msvc.h: No such file or directory
   10 | #include "braindead_msvc.h"
      | ^~~~~~~~~~~~~~~~~~
compilation terminated.

I think the maintainers may just need to add braindead_msvc.h to pkginclude_HEADERS in libmorph/Makefile.am, line 14 to fix the problem, but I haven't tested this myself.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.