octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glob-match.cc (patch atttached)  error (MinGW build 3-3-50+)


From: Tatsuro MATSUOKA
Subject: Re: glob-match.cc (patch atttached)  error (MinGW build 3-3-50+)
Date: Fri, 15 Jan 2010 11:35:15 +0900 (JST)

Hello

The previous post was my mistake. I have not completed yet.

Latest ChangeLOg
2010-01-09  John W. Eaton  <address@hidden>

        * configure.ac: Don't check for nlink_t.
        (AH_BOTTOM): Don't define nlink_t here.


In compiling glob-match.cc, an error occurred   


libtool: compile:  g++ -shared-libgcc -DHAVE_CONFIG_H -I. 
-I../../../hg/octave-work/liboctave -I..
-Ic:/Programs/OctaveBuild/include -Ic:/Programs/WinDevTools/include 
-Ic:/Programs/GnuWin32/include
-IC:/Programs/GnuWin32/include -I../libgnu -I../../../hg/octave-work/libgnu
-I../../../hg/octave-work/libcruft/misc -Ic:/Programs/OctaveBuild/include
-Ic:/Programs/WinDevTools/include -Ic:/Programs/GnuWin32/include 
-IC:/Programs/GnuWin32/include -g -O2
-DHAVE_CONFIG_H -mieee-fp -I/WinDevTools/bin/../include/freetype2 
-I/WinDevTools/bin/../include
-IC:/Programs/WinDevTools/include -Wall -W -Wshadow -Wold-style-cast -Wformat 
-g -O2 -g -O2 -MT
liboctave_la-glob-match.lo -MD -MP -MF .deps/liboctave_la-glob-match.Tpo -c .
./../../hg/octave-work/liboctave/glob-match.cc  -DDLL_EXPORT -DPIC -o 
.libs/liboctave_la-glob-match.o
../../../hg/octave-work/liboctave/glob-match.cc: In member function 
'string_vector
glob_match::glob_internal()':
../../../hg/octave-work/liboctave/glob-match.cc:105: error: expected ';' before 
'p'
make[3]: *** [liboctave_la-glob-match.lo] Error 1

101: #if defined (OCTAVE_HAVE_WINDOWS_FILESYSTEM) \
102:   && ! defined (OCTAVE_HAVE_POSIX_FILESYSTEM)
103:           std::replace_if (xpat.begin (), xpat.end (),
104:                            std::bind2nd (std::equal_to<char> (), '\\'),
105:                            '/')p;
106: #endif

105:                            '/')p;



# HG changeset patch
# User John W. Eaton <address@hidden>
# Date 1263377473 18000
# Node ID 94abf7bd2fb0ac174c24659edca2adc4b3efb46e
# Parent  d90736774da2e51e176b62c870e2f57b94b2d6b1
transform dirsep for glob on Windows systems
 :
 :
diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog
@@ -97,6 +98,13 @@
        {
          glob_t glob_info;
 
+#if defined (OCTAVE_HAVE_WINDOWS_FILESYSTEM) \
+  && ! defined (OCTAVE_HAVE_POSIX_FILESYSTEM)
+          std::replace_if (xpat.begin (), xpat.end (),
+                           std::bind2nd (std::equal_to<char> (), '\\'),
+                           '/')p;
+#endif
+
 :

+                           '/')p;

can be found in the patch.

Regards

Tatsuro

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]