r74041 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74040‎ | r74041 | r74042 >
Date:21:11, 30 September 2010
Author:hashar
Status:ok
Tags:
Comment:
automaticly build with CXXFLAGS="-Wno-write-strings"
Modified paths:
  • /trunk/extensions/wikidiff2/README (modified) (history)
  • /trunk/extensions/wikidiff2/config.m4 (modified) (history)

Diff [purge]

Index: trunk/extensions/wikidiff2/config.m4
@@ -36,5 +36,8 @@
3737
3838 PHP_SUBST(WIKIDIFF2_SHARED_LIBADD)
3939 AC_DEFINE(HAVE_WIKIDIFF2, 1, [ ])
 40+ export CXXFLAGS_SAVE=$CXXFLAGS
 41+ export CXXFLAGS="-Wno-write-strings $CXXFLAGS"
4042 PHP_NEW_EXTENSION(wikidiff2, php_wikidiff2.cpp wikidiff2.cpp, $ext_shared)
 43+ export CXXFLAGS="$CXXFLAGS"
4144 fi
Index: trunk/extensions/wikidiff2/README
@@ -16,12 +16,15 @@
1717 Wikidiff2 is a PHP extension. To compile and install it:
1818
1919 $ phpize
20 -$ CXXFLAGS=-Wno-write-strings ./configure
 20+$ ./configure
2121 $ make
2222 $ sudo make install
2323
2424 == Changelog ==
2525
 26+2010-09-30
 27+* Automaticly use CXXFLAGS=-Wno-write-strings
 28+
2629 2010-06-14
2730 * Converted the extension from swig to PHP native.
2831 * Added Thai word break support

Follow-up revisions

RevisionCommit summaryAuthorDate
r109574* (bug 24357) Fix compile error with PHP 5.2.x...tstarling22:04, 19 January 2012

Status & tagging log