A bit more digging reveals the cause and sheds light on the commit log
meaning:

Adding #warning "compiling bits/atomicfwd_c.h" at the top of
djgpp/include/cxx/4.42/bits/atomicfwd_c.h and compiling a simple source
that includes <iostream> leads to this interesting result:

c:/djgpp/bin/../lib/gcc/djgpp/4.42/../../../../include/cxx/4.42/bits/atomic_word.h:1:2:
warning: #warning "compiling bits/atomicfwd_c.h"

So it seems gpp is looking for "atomic_word.h" (that is present in
djgpp/include/cxx/4.42/djgpp/bits), but searching for it in more paths,
it's told by DOSEMU that the file is present in
djgpp/include/cxx/4.42/bits and it's given the contents of atomicfwd_c.h
instead. This in turn breaks the compilation.

With dosemu r. 1999 I get instead:

c:/djgpp/bin/../lib/gcc/djgpp/4.42/../../../../include/cxx/4.42/djgpp/bits/atomic_word.h:1:2:
warning: #warning "compiling djgpp/bits/atomic_word.h"

Anyway the bug would be resolved by bumping up the svn revision the
dosemu package is based on.

-- 
DJGPP gpp 4.4.1 and 4.4.2 fail under dosemu 1.4.0+svn.1828-2ubuntu2
https://bugs.launchpad.net/bugs/512611
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to