sandialabs / portals4

Portals is a low-level network API for high-performance networking on high-performance computing systems developed by Sandia National Laboratories, Intel Corporation, and the University of New Mexico. The Portals 4 Reference Implementation is a complete implementation of Portals 4, with transport over InfiniBand VERBS and UDP. Shared memory transport is available as an optimization, including Linux KNEM support. The Portals 4 reference implementation is supported on both modern 64 bit Linux and 64 bit Mac OS X. The reference implementation has been developed by Sandia National Laboratories, Intel Corporation, and System Fabric Works. For more information on the Portals 4 standard, please see the Portals 4 page.
https://www.sandia.gov/portals/
Other
36 stars 17 forks source link

missing asprintf prototype #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Building from r2194 I see:

../../../../source/ptl4-trunk/test/sfw/main.c: In function 'main':
../../../../source/ptl4-trunk/test/sfw/main.c:150:13: warning: implicit 
declaration of function 'asprintf' [-Wimplicit-function-declaration]

Since asprintf() is a GNU extension, one must define _GNU_SOURCE before 
including stdio.h in order to get its prototype.

Original issue reported on code.google.com by phhargr...@lbl.gov on 2 May 2013 at 6:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2196.

Original comment by regrant...@gmail.com on 2 May 2013 at 9:12