[Pkg-openmpi-maintainers] Bug#796985: libopenmpi-dev: invalid suffix on literal; C++11 requires a space between literal and string macro
Nico Schlömer
nico.schloemer at gmail.com
Wed Aug 26 14:44:04 UTC 2015
Package: libopenmpi-dev
Version: 1.6.5-9.2
Severity: normal
Tags: patch
When using Open MPI 1.6 with `-std=c++11`, one gets flooded with warnings of
the kind
```
/usr/lib/openmpi/include/mpi_portable_platform.h:374:63: warning: invalid
suffix on literal; C++11 requires a space between literal and string macro
[-Wliteral-suffix]
_STRINGIFY(__GNUC__)"."_STRINGIFY(__GNUC_MINOR__)"."_STRINGIFY(__GNUC_PATCHLEVEL__)
```
The bug is already fixed upstream [1]. Since the transition to at least Open
MPI 1.8 will take a while in Debian, I suggest to include the attached patch.
It's virtually identical with the upstream patch [2].
[1] https://www.open-mpi.org/community/lists/users/2013/11/22914.php
[2] https://www.open-mpi.org/community/lists/users/att-22914/cxx11.patch
-- System Information:
Debian Release: jessie/sid
APT prefers vivid-updates
APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), (100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.19.0-21-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libopenmpi-dev depends on:
ii libc6 2.21-0ubuntu4
ii libhwloc-dev 1.10.0-3
ii libibverbs-dev 1.1.8-1ubuntu1
ii libopenmpi1.6 1.6.5-9.2
ii openmpi-common 1.6.5-9.2
libopenmpi-dev recommends no packages.
libopenmpi-dev suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openmpi-c++11-space-literal-macro.patch
Type: text/x-diff
Size: 2281 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-openmpi-maintainers/attachments/20150826/4d639121/attachment.patch>
More information about the Pkg-openmpi-maintainers
mailing list