Mojca Miklavec

Results 48 issues of Mojca Miklavec

Geant4 recently introduced support for multiple threads. It would make sense to check whether one can avoid reinventing the wheel and use the code from Geant4. I have found this:...

windows

Under Visual Studio 2012 I had to remove `#include ` and replace it with ``` #if defined(_MSC_VER) #include typedef SSIZE_T ssize_t; #define snprintf _snprintf #include #endif ``` to get the...

windows

I was experiencing some problems with the OpenGL inclusion in `GateImageBox.hh`. The code needs to be reviewed and tested.

windows

The linker from Microsoft Visual Studio 2012 complained about multiple definitions of `sum`, `prod`, `opp`, `intdivint` until I removed them from `GateDMapoperators.ihh` or made sure that the code wouldn't be...

windows

The line ``` srandom(static_cast(*theRandomEngine)); ``` from `source/general/src/GateRandomEngine.cc` doesn't work under Windows (MSVC).

windows

A number of source files include `unistd.h`. That doesn't work in Visual Studio 2012.

windows

Some compilers fail to evaluate `fabs(crystal1ID - det1_c)` as in `source/digits_hits/src/GateSinogram.cc` for example. The compiler doesn't know whether to treat the arguments as `float`, `double` or `long double`.

windows

I didn't try to understand the code yet, but if the code is kept untouched, one should provide alternative implementations for compilers where the two functions don't exist. (The functions...

windows

A lot of timing functionality in Gate depends on existence of `sys/time.h` and `timeval`. All time readings and calculations should be reworked a bit to work under Windows.

windows