bug-aris
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch, externs


From: carl hansen
Subject: Re: patch, externs
Date: Mon, 19 Apr 2021 10:49:27 -0700



On Mon, Apr 19, 2021 at 1:28 AM Kovács Zoltán <kovzol@gmail.com> wrote:
Hi Carl, thanks for the fix. Please, could you explain why these changes are required?
Thanks in advance. Best regards, Zoltan

carl 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.at

Web: 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.
  The best,
 Carl

Attachment: er
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]