← Back to team overview

touch-packages team mailing list archive

[Bug 1435127] Re: vivid fails to build Mir as of 2015-03-22: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]

 

** Changed in: mir
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1435127

Title:
  vivid fails to build Mir as of 2015-03-22: error: #warning
  "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
  [-Werror=cpp]

Status in Mir:
  Fix Released
Status in Mir 0.12 series:
  Fix Released
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  Just updated vivid and it refuses to build lp:mir now:

  Building C object src/CMakeFiles/wrapper.dir/wrapper.c.o
  In file included from /usr/include/string.h:25:0,
                   from /home/dan/bzr/mir/dev/src/wrapper.c:19:
  /usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
   # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
     ^
  cc1: all warnings being treated as errors
  src/CMakeFiles/wrapper.dir/build.make:54: recipe for target 'src/CMakeFiles/wrapper.dir/wrapper.c.o' failed
  make[2]: *** [src/CMakeFiles/wrapper.dir/wrapper.c.o] Error 1
  CMakeFiles/Makefile2:993: recipe for target 'src/CMakeFiles/wrapper.dir/all' failed
  make[1]: *** [src/CMakeFiles/wrapper.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1435127/+subscriptions