Changeset 23087 for lang/cplusplus

Show
Ignore:
Timestamp:
11/10/08 07:36:02 (5 years ago)
Author:
saturday06
Message:

japanese ready!

Location:
lang/cplusplus/i3
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • lang/cplusplus/i3/Makefile.am

    r23081 r23087  
    2727 -Wpointer-arith \ 
    2828 -Winit-self \ 
    29  -Weffc++  
     29 -Weffc++ \ 
     30 -Wno-non-virtual-dtor 
     31 
    3032# -Wpadded  
    31 # -Wunsafe-loop-optimizations  
     33# -Wunsafe-loop-optimizations 
    3234 
    3335else 
     
    4749include am/mol_test_debug.am 
    4850 
    49 if ENABLE_TEST 
    50 bin_PROGRAMS += i3_test mol_test 
    5151if 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  
     52bin_PROGRAMS  += i3_test mol_test i3_debug i3_test_debug mol_test_debug 
    5853if USE_GCH 
    5954BUILT_SOURCES += ${gch_files} 
  • lang/cplusplus/i3/configure.ac

    r23057 r23087  
    2323AC_PROG_CC 
    2424AC_PROG_CXX 
    25 AM_CONDITIONAL(USE_GCH, test "$GXX" = "yes") 
     25AM_CONDITIONAL(USE_GCH,     test "$GXX" = "yes") 
    2626 
    2727# --------------------------------------- 
    2828# 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") 
    3429 
    3530AC_ARG_ENABLE(debug, 
     
    3732        enable_debug="$enableval", enable_debug="no") 
    3833AM_CONDITIONAL(ENABLE_DEBUG, test "$enable_debug" = "yes") 
     34 
     35if 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 
     42fi 
    3943 
    4044# --------------------------------------- 
  • lang/cplusplus/i3/scripts/filter_warnings.rb

    r23057 r23087  
    11# coding: utf-8 
    22 
     3buffer = "" 
     4STDIN.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 
     12end 
    313 
    414 
    5  
  • lang/cplusplus/i3/scripts/make_libintl_dll.sh

    r23071 r23087  
    11 
    2 target_host=i586-mingw32msvc 
    3 #PATH=/mingw/bin:/bin 
     2# for cross compile 
     3#target_host=i586-mingw32msvc 
    44 
     5# tmp directory to work 
    56mytmpdir=`pwd`/tmp_make_libintl_dll 
    67rm -rf $mytmpdir 
    78mkdir -p $mytmpdir 
    89 
     10# mingw PATH 
     11uname_s=`uname -s` 
     12if [ `expr $uname_s : MINGW` != "0" ]; then 
     13  PATH=/mingw/bin:/bin 
     14fi 
     15 
     16# execute script 
    917env -i mytmpdir="$mytmpdir" target_host="$target_host" PATH="$PATH" TMP="$TMP" /bin/sh -c ' 
    1018if [ -n "$target_host" ]; then