Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error in DEBUG mode #48

Open
dareyouspam opened this issue May 20, 2019 · 0 comments
Open

Compilation error in DEBUG mode #48

dareyouspam opened this issue May 20, 2019 · 0 comments

Comments

@dareyouspam
Copy link

Hi,
I get this error when compiling in the debug mode:
cmake -DCMAKE_BUILD_TYPE=Debug esesc-master/
make

[ 48%] Building CXX object simu/libcore/CMakeFiles/core.dir/BPred.cpp.o
In file included from esesc-master/simu/libcore/BPred.cpp:49:0:
esesc-master/simu/libcore/IMLIBest.h: In member function 'void IMLIBest::updatePredictor(AddrType, bool, bool, AddrType)':
esesc-master/simu/libcore/IMLIBest.h:1710:9: error: variable-sized object 'skip' may not be initialized
};
^
make[2]: *** [simu/libcore/CMakeFiles/core.dir/BPred.cpp.o] Error 1
make[1]: *** [simu/libcore/CMakeFiles/core.dir/all] Error 2
make: *** [all] Error 2

From esesc-master/simu/libcore/IMLIBest.h:
bool skip[nhist+1] = { false, };

Is this a known issue? I'm using RHEL 7.3 and g++ (GCC) 4.8.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant