From 22b852e2ab3d09b295a6d34fa429f5f25473a3fa Mon Sep 17 00:00:00 2001
From: Matthias Klumpp <mak@debian.org>
Date: Sun, 4 May 2025 23:16:24 +0200
Subject: [PATCH] Fix missing std namespace usages

Unsure why this works upstream and fails here, potentially our
newer GCC version is more strict or there is some include-chain
upstream with patched vendored code that masks the issue there.
This needs further investigation.

---
 src/ivoc/epsprint.cpp | 2 ++
 src/ivoc/ivoc.h       | 1 +
 2 files changed, 3 insertions(+)

--- a/src/ivoc/ivoc.h
+++ b/src/ivoc/ivoc.h
@@ -10,6 +10,7 @@
 #include "gui-redirect.h"
 extern int nrn_err_dialog_active_;
 
+using namespace std;
 
 #ifdef MINGW
 extern bool nrn_is_gui_thread();
--- a/src/ivoc/epsprint.h
+++ b/src/ivoc/epsprint.h
@@ -3,6 +3,8 @@
 
 #include <InterViews/printer.h>
 
+using namespace std;
+
 class EPSPrinter: public Printer {
   public:
     EPSPrinter(ostream*);
--- a/src/ivoc/idraw.h
+++ b/src/ivoc/idraw.h
@@ -11,6 +11,8 @@
 class Color;
 class Brush;
 
+using namespace std;
+
 class OcIdraw {
   public:
     static void prologue();
--- a/src/ivoc/ocbox.h
+++ b/src/ivoc/ocbox.h
@@ -8,6 +8,8 @@
 class BoxAdjust;
 struct Object;
 
+using namespace std;
+
 class OcBox: public OcGlyphContainer {
   public:
     enum { H, V };
--- a/src/ivoc/ocdeck.h
+++ b/src/ivoc/ocdeck.h
@@ -7,6 +7,8 @@
 class OcDeckImpl;
 struct Object;
 
+using namespace std;
+
 class OcDeck: public OcGlyphContainer {
   public:
     OcDeck();
--- a/src/ivoc/axis.h
+++ b/src/ivoc/axis.h
@@ -6,6 +6,8 @@
 
 class Scene;
 
+using namespace std;
+
 class Axis: public Glyph, public Observer {
   public:
     Axis(Scene*, DimensionName);
--- a/src/ivoc/xmenu.h
+++ b/src/ivoc/xmenu.h
@@ -42,6 +42,8 @@
 class ScenePicker;
 struct HocSymExtension;
 
+using namespace std;
+
 declarePtrList(HocUpdateItemList, HocUpdateItem)
 declarePtrList(HocItemList, HocItem)
 declarePtrList(HocPanelList, HocPanel)
