Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Compiling Fortran sources in TheIde
Re: Compiling Fortran sources in TheIde [message #52154 is a reply to message #52149] |
Tue, 30 July 2019 07:55 ![Go to previous message Go to previous message](theme/default/images/up.png) |
![](https://www.ultimatepp.org/forums/images/custom_avatars/648.jpg) |
koldo
Messages: 3372 Registered: August 2008
|
Senior Veteran |
|
|
Hi Sergey
I think the SEGFAULT has nothing to do with integer sizes. It was produced after this line
What I meant is that ll returns 80, the initial declaration size. However gfortran really allocates the size of the string, I mean, it shrinks the 80 to the real size. This way cc[ll--] = '\0' corrupts memory.
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Mon Jun 17 12:32:22 CEST 2024
Total time taken to generate the page: 0.01644 seconds
|