[Top][All Lists]

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

Re: SVN 1404 warning on Mac OS

From: Dr . Jürgen Sauermann
Subject: Re: SVN 1404 warning on Mac OS
Date: Mon, 25 Jan 2021 11:34:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Louis,

the way you do it looks OK (provided that you run ./configure or even better autoreconf ; ./configure
after svn up).

However, there were many "using namespace std;" declarations in the source files (many of them
in header files so that they affect multiple .cc files). That makes it difficult to explain why you got
that warning only once. Unless, of course, your build had simply stopped after the first error was

Best Regards,

On 1/24/21 8:05 PM, lchretien--- via Bugs and suggestions for GNU APL wrote:
Actually, I keep the source code in two directories: the apl-svn/ that I update from you, and an apl/ folder.

Every time I update from SVN, I delete the apl/ folder and copy everything from the apl-svn one. So I always start completely clean.

Unless I missed something?

On Jan 20, 2021, at 13:49, Dr. Jürgen Sauermann <mail@xn--jrgen-sauermann-zvb.de> wrote:

Hi Louis,

the reson that the you got the warning only once is most likely you did no make clean
(actually, you should) after svn up, so only Quad_XML.cc was recompiled.

I have removed all instances of 
"using namespace std" now. SVN 1412.

Best Regards,

On 1/18/21 10:07 PM, lchretien--- via Bugs and suggestions for GNU APL wrote:

On Jan 18, 2021, at 12:21, Dr. Jürgen Sauermann <mail@xn--jrgen-sauermann-zvb.de> wrote:

Hi Louis,

thanks, lookd like the compiler guys were again busy with implementing new stupid warnings.

I remember that some time ago gcc would complain the other way around (when
"using namespace std" was missing as opposed to being present).

But on Mac OS X, the default compiler is clang, so I guess it could be true.

This one might actually haunt us for a while because there are many
"using namespace std" in the GNU APL code.

Strange, because that is the only warning I got out of all the compiles. Maybe you were doing something a little different in Quad_XML.cc?

I also fixed the other warning, SVN 1405.

Best Regards,

Louis Chrétien

Louis Chrétien

reply via email to

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