public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* basename conflicting definitions
@ 2015-04-21  5:31 Marco Atzeri
  2015-04-21  7:38 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Atzeri @ 2015-04-21  5:31 UTC (permalink / raw)
  To: cygwin

Hi Corinna,
building open-mpi on

  $ uname -svrm
CYGWIN_NT-6.1 2.0.0(0.287/5/3) 2015-04-17 12:08 x86_64

I see a conflict from 2 header of

$ cygcheck -f /usr/include/libgen.h /usr/include/string.h
cygwin-devel-2.0.0-0.7
cygwin-devel-2.0.0-0.7


configure:59845: gcc -std=gnu99 -c -DNDEBUG -ggdb -O2 -pipe 
-Wimplicit-function-declaration 
-fdebug-prefix-map=/pub/devel/openmpi/openmpi-1.8.5pre2-1.x86_64/build=/usr/src/debug/openmpi-1.8.5pre2-1 
-fdebug-prefix-map=/pub/devel/openmpi/openmpi-1.8.5pre2-1.x86_64/src/openmpi-1.8.5pre2=/usr/src/debug/openmpi-1.8.5pre2-1 
-finline-functions -fno-strict-aliasing -fexceptions  conftest.c >&5
In file included from conftest.c:429:0:
/usr/include/libgen.h:18:14: error: conflicting types for 'basename'
  extern char *basename (char *path);
               ^
In file included from /usr/include/stdio.h:29:0,
                  from conftest.c:396:
/usr/include/string.h:172:7: note: previous declaration of 'basename' 
was here
  char *_EXFUN(basename,(const char *))
        ^

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-21  9:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-21  5:31 basename conflicting definitions Marco Atzeri
2015-04-21  7:38 ` Corinna Vinschen
2015-04-21  8:44   ` Marco Atzeri
2015-04-21  9:21     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).