diff options
author | unknown <sasha@laptop.slkc.uswest.net> | 2000-11-11 14:57:35 -0700 |
---|---|---|
committer | unknown <sasha@laptop.slkc.uswest.net> | 2000-11-11 14:57:35 -0700 |
commit | fd2c900e5229810ffe6051da6e2839a1ab90b376 (patch) | |
tree | 32a840c24805d4d0e41b0fe983db15e78c2866e7 /BUILD | |
parent | 19d2e8ce98ed4f77f94f1cde422f3ace73f64315 (diff) | |
download | mariadb-git-fd2c900e5229810ffe6051da6e2839a1ab90b376.tar.gz |
laptop commit
BUILD/compile-pentium-debug-no-bdb:
forgot to install BDB on my laptop, needed to have this
sql/log.cc:
fixed initialization warning
sql/sql_insert.cc:
delayed insert was getting logged on failure. To make things worse,
all delayed inserts were being logged with query_length=0
sql/sql_repl.cc:
fixed compiler warnings
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/compile-pentium-debug-no-bdb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/BUILD/compile-pentium-debug-no-bdb b/BUILD/compile-pentium-debug-no-bdb new file mode 100755 index 00000000000..b7f931a6718 --- /dev/null +++ b/BUILD/compile-pentium-debug-no-bdb @@ -0,0 +1,19 @@ +make -k clean +/bin/rm -f */.deps/*.P config.cache + +aclocal; autoheader; aclocal; automake; autoconf + +# If you are not using codefusion add "-Wpointer-arith" to WARNINGS +# The following warning flag will give too many warnings: +# -Wshadow -Wunused -Winline (The later isn't usable in C++ as +# __attribute()__ doesn't work with gnu C++) + +GLOBAL_WARNINGS="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wuninitialized -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings" +C_WARNINGS="$GLOBAL_WARNINGS -Wunused" +CC_WARNINGS="$GLOBAL_WARNINGS -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor" + + +CFLAGS="-DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -O2 -mpentiumpro $C_WARNINGS" CXX=gcc \ +CXXFLAGS="-DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -O2 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" \ +./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --with-debug=full +make |