
This is probably the best indicator that this IS a Code::Blocks problem. I can also compile the code from the command line outside of Code::Blocks just fine. So, at one level this is not really a problem because I can get my program to successfully compile and run. I then run Build again, and everything seems to compile just fine. I need to abort build to get this loop to stop. Using the Build option causes an endless compiler loop that repeatedly references items from the Eigen template. Every time I update that code block it needs to be recompiled.

I have one block of code in my program that makes use of functions that are part of the Eigen template library. Debugging The debugging subsystem has been greatly enhanced in the latest version.

But, I've asked this question on the the Eigen forum and one the MinGw forum, and both have stated that this is a Code:Blocks problem. Code::Blocks implements a custom build system with very important features: ultra-fast dependencies generation, build queues and parallel builds are the most important ones to mention. I know the posting guidelines explicitly state that compiler errors ARE NOT a Code::Blocks problem. To get proper array functionality with a built-in size function, use std::vector.This is about an occasional problem when compiling code that uses the EIGEN template library. In any case you cannot use sizeof to recover the number of elements in the array from a pointer to its first element. arr is invalid because a cell is neither an array not a pointer, nor it has a custom operator defined. Last but not least, (sizeof(arr)/sizeof(arr)) Īrr is a cell*. To get proper array functionality with a built-in size function, use std::vector. You cannot pass it to some function and expect the size of the array to be recovered. It contains no information about the number of elements. This is an address of the first element in the array.

You should use std::vector instead, like this: std::vector> game To get proper variable length array functionality. In standard C++ there are no Variable Length Arrays. At this point I advise you against using any compiler-specific extensions. My version of gfortran compiler was installed using the installation application ' gcc-8.3.0. I installed it today and I would like to use it to build Fortran Project using the gfortran compiler. Sorry for my english but Im french and I'm not accustomed to English writing. You are using a compiler-specific extension. Setting a Fortran compiler in CodeBlocks.
