-
```
patch attached.
Description: Adding CFLAGS CXXFLAGS CPPFLAGS and LDFLAGS to the build
Author: Gianfranco Costamagna
Origin: debian
Last-Update:
--- cld2-0.0.0~svn193.orig/internal/compile.sh
+…
-
```
What steps will reproduce the problem?
1. sh compile_libs.sh
2. Observe errors
What is the expected output? What do you see instead?
Expected: None (success)
Actual output:
compact_lang_det_test…
-
```
The following files are affected:
cld2_generated_quadchrome0122_16.cc
cld2_generated_deltaoctachrome0122.cc
cld2_generated_deltaocta0122.cc
cld2_generated_quadchrome0122_19.cc
cld2_generated_disti…
-
```
Upon running some browser tests in Chrome, the following error was encountered
when attempting to call CLD2::loadDataFromRawAddress():
memory allocation/deallocation mismatch at 0x155bb621cb20: …
-
```
Today, we guard the declaration of the dynamic-data-related functions in
comapct_lang_det.h with "#ifdef CLD2_DYNAMIC_MODE":
https://code.google.com/p/cld2/source/browse/trunk/public/compact_lang…
-
```
The problem appears in revision 215539. I have attached a simple one-line patch
that fixes it.
In method cld::GetNormalizedScore() in cld/compact_lang_det/cldutil.cc, the
loop in line 818 keeps…
-
```
What steps will reproduce the problem?
cd /tmp
svn checkout http://cld2.googlecode.com/svn/trunk/ cld2
cd cld2/internal
chmod 755 compile_libs.sh
./compile_libs.sh
sudo cp libcld2.so libcld2_full…
-
```
What steps will reproduce the problem?
1. checkout revision 194
2. use the cmake file (probably doesn't change anything)
3. use ubuntu 14.10 x64
build it and run tests
make[1]: Entering directory…
-
```
The problem appears in revision 215539. I have attached a simple one-line patch
that fixes it.
In method cld::GetNormalizedScore() in cld/compact_lang_det/cldutil.cc, the
loop in line 818 keeps…
-
```
What steps will reproduce the problem?
1. checkout revision 194
2. use the cmake file (probably doesn't change anything)
3. use ubuntu 14.10 x64
build it and run tests
make[1]: Entering directory…