[Xorp-cvs] XORP cvs commit: xorp/libcomm
Pavlin Radoslavov
pavlin at icir.org
Thu Sep 13 15:39:12 PDT 2007
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2007-09-13 22:39:12 UTC
XORP CVS repository
Modified files:
libcomm Makefile.am Makefile.in
Log message:
Use the C++ linker to link the test_comm.c C program with the
libxorp C++ library.
This fixes a recent linking problem on Windows (after -D_NO_OLDNAMES
was removed from configure.in).
Note that, strictly speaking, according to the following FAQ we should
actually use the C++ compiler when compiling main() (i.e., test_comm.c):
http://home.wanadoo.nl/efx/c++-faq/mixing-c-and-cpp.html#faq-31.1
However, Automake doesn't provide a simple and clean way to specify
the compiler per file, so for the time being we still use the C compiler.
Bug found by: Bruce M. Simpson
Revision Changes Path
1.11 +5 -1; commitid: 53446e9bae47ea6; xorp/libcomm/Makefile.am
1.34 +5 -1; commitid: 53446e9bae47ea6; xorp/libcomm/Makefile.in
More information about the Xorp-cvs
mailing list