Le 14/06/2016 10:38, Jean-Marc Lasgouttes a écrit :
Le 13/06/2016 à 23:15, Guillaume Munch a écrit :
I am not in charge for the machines around me and given 12.04 LTS
ends up
2017-04 I don't expect any migration happening soon :)

I am in a similar situation (although as I said, clang works). My fatest
machine runs 12.04, only updated in terms of security stuff, but not
software. I have little visibility on what updates to expect.

So I guess the bad news is I can't quickly bisect what's going on 32
cores
anymore, the good news is I'll get more real work done :)

Thank you Pavel for your understanding. I hope the inconvenience is
temporary.

I think that not having Pavel waste his time on LyX is a loss.

So is there a consensus that g++ 4.8 is a reasonable minimum version to
support?

Could we try for a little while to cope with gcc 4.6, with explicitly
marked code (that we can remove later) and see where this leads us?

In this case, for example, what would the cure be?


I am of course very happy to let Pavel and you spend more time on LyX.

I am a little short on ideas so we could try the attached, and if it
does not work try the commented version below it, and if it does not
work, revert e87febd0 for the moment. What I am concerned about is
future breakages, about which I will ask that you be patient (as you
have been so far—thank you). I do not have g++ 4.6, so I will set up my
test-before-commit build with g++ 4.8 and fixes for 4.6 will be done as
breakages happen.

Guillaume

diff --git a/src/support/unicode.cpp b/src/support/unicode.cpp
index 187d018..2d15ff0 100644
--- a/src/support/unicode.cpp
+++ b/src/support/unicode.cpp
@@ -66,6 +66,14 @@ IconvProcessor::IconvProcessor(string tocode, string fromcode)
 {}
 
 
+// for gcc 4.6
+IconvProcessor::IconvProcessor(IconvProcessor &&) = default;
+//IconvProcessor::IconvProcessor(IconvProcessor && other)
+//	: tocode_(move(other.tocode_)), fromcode_(move(other.fromcode_)),
+//	  h_(move(other.h_))
+//{}
+
+
 bool IconvProcessor::init()
 {
 	if (h_)
diff --git a/src/support/unicode.h b/src/support/unicode.h
index 6373e47..17b95dd 100644
--- a/src/support/unicode.h
+++ b/src/support/unicode.h
@@ -62,8 +62,8 @@ public:
 		char * out_buffer, size_t max_out_size);
 	/// target encoding
 	std::string to() const { return tocode_; }
-	// required by g++ 4.7
-	IconvProcessor(IconvProcessor &&) = default;
+	// required by g++ 4.6
+	IconvProcessor(IconvProcessor && other);
 };
 
 /// Get the global IconvProcessor instance of the current thread for

Reply via email to