|
From: | carl hansen |
Subject: | Re: patch, externs |
Date: | Mon, 19 Apr 2021 10:49:27 -0700 |
Hi Carl, thanks for the fix. Please, could you explain why these changes are required?Thanks in advance. Best regards, Zoltancarl hansen <carlhansen1234@gmail.com> ezt írta (időpont: 2021. ápr. 18., V, 3:04):needs externs
--Dr. Zoltán Kovács, MSc
Institut Ausbildung
Private Pädagogische Hochschule der Diözese Linz
Private University of Education, Diocese Linz
Salesianumweg 3, 4020 Linz
Mail: zoltan.kovacs@ph-linz.atWeb: www.ph-linz.at
Hello Zoltan,I think compilers have gotten more picky lately. I am using gcc 10.3. I get attached errors while compiling. This is because the .h files are included more than once, and each time an allocation occurs. The patch moves the allocation to a .c file to get around that, so allocation happens once. This probably caused a warning in earlier compilers, now it is an error.
er
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |