[yast-devel] build failures with yast2-{core,devtools}-2.17.2
Hi hackers, you have probably noticed the many build failures of yast packages. I am already fixing most of them. The gory details follow if you're interested. The change causing them was intended to fix the annoyingly long warnings about a deprecated C++ header in YCode.h, <ext/hash_map>. It turned out that while hash_map is deprecated, its replacement <unordered_map> is not standard yet, so I had to feed g++ with -std=c++0x. One problem with that was that I incorrectly assumed that all packages using YAST2-CHECKS-PROGRAM in configure.in.in depend on yast2-core. That is fixed in yast2-devtools-2.17.3. Another problem is that using the newer C++ standard subtly shuffles the library includes, which reveals errors that previously went unnoticed. For example I had a few #include <algorithm> missing in core itself. And actually it is not -std=c++0x but -std=gnu++0x because we use the typeof gnu extension in libzypp headers. Fixed in yast2-core-2.17.3. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (1)
-
Martin Vidner