Changeset 23087 for lang/cplusplus
- Timestamp:
- 11/10/08 07:36:02 (5 years ago)
- Location:
- lang/cplusplus/i3
- Files:
-
- 5 modified
-
Makefile.am (modified) (2 diffs)
-
configure.ac (modified) (2 diffs)
-
scripts/filter_warnings.rb (modified) (1 diff)
-
scripts/make_libintl_dll.sh (modified) (1 diff)
-
windows/bin/libintl.dll (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/i3/Makefile.am
r23081 r23087 27 27 -Wpointer-arith \ 28 28 -Winit-self \ 29 -Weffc++ 29 -Weffc++ \ 30 -Wno-non-virtual-dtor 31 30 32 # -Wpadded 31 # -Wunsafe-loop-optimizations 33 # -Wunsafe-loop-optimizations 32 34 33 35 else … … 47 49 include am/mol_test_debug.am 48 50 49 if ENABLE_TEST50 bin_PROGRAMS += i3_test mol_test51 51 if ENABLE_DEBUG 52 bin_PROGRAMS += i3_test_debug mol_test_debug 53 endif 54 endif 55 56 if ENABLE_DEBUG 57 bin_PROGRAMS += i3_debug 52 bin_PROGRAMS += i3_test mol_test i3_debug i3_test_debug mol_test_debug 58 53 if USE_GCH 59 54 BUILT_SOURCES += ${gch_files} -
lang/cplusplus/i3/configure.ac
r23057 r23087 23 23 AC_PROG_CC 24 24 AC_PROG_CXX 25 AM_CONDITIONAL(USE_GCH, test "$GXX" = "yes")25 AM_CONDITIONAL(USE_GCH, test "$GXX" = "yes") 26 26 27 27 # --------------------------------------- 28 28 # Options 29 30 AC_ARG_ENABLE(test,31 AS_HELP_STRING([--enable-test], [build test binaries]),32 enable_test="$enableval", enable_test="no")33 AM_CONDITIONAL(ENABLE_TEST, test "$enable_test" = "yes")34 29 35 30 AC_ARG_ENABLE(debug, … … 37 32 enable_debug="$enableval", enable_debug="no") 38 33 AM_CONDITIONAL(ENABLE_DEBUG, test "$enable_debug" = "yes") 34 35 if test "$enable_debug" = "yes"; then 36 if test -z "$CFLAGS"; then 37 CFLAGS="-g" 38 fi 39 if test -z "$CXXFLAGS"; then 40 CXXFLAGS="-g" 41 fi 42 fi 39 43 40 44 # --------------------------------------- -
lang/cplusplus/i3/scripts/filter_warnings.rb
r23057 r23087 1 1 # coding: utf-8 2 2 3 buffer = "" 4 STDIN.each do |line| 5 buffer += line 6 if line.match(/(warning|error)/) 7 if !line.match(/^\/usr/) && !line.match(/has a non-virtual destructor/) 8 print buffer 9 end 10 buffer = "" 11 end 12 end 3 13 4 14 5 -
lang/cplusplus/i3/scripts/make_libintl_dll.sh
r23071 r23087 1 1 2 target_host=i586-mingw32msvc 3 # PATH=/mingw/bin:/bin2 # for cross compile 3 #target_host=i586-mingw32msvc 4 4 5 # tmp directory to work 5 6 mytmpdir=`pwd`/tmp_make_libintl_dll 6 7 rm -rf $mytmpdir 7 8 mkdir -p $mytmpdir 8 9 10 # mingw PATH 11 uname_s=`uname -s` 12 if [ `expr $uname_s : MINGW` != "0" ]; then 13 PATH=/mingw/bin:/bin 14 fi 15 16 # execute script 9 17 env -i mytmpdir="$mytmpdir" target_host="$target_host" PATH="$PATH" TMP="$TMP" /bin/sh -c ' 10 18 if [ -n "$target_host" ]; then
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)