mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 09:32:26 +00:00
Patch from Georg to fix support of gcc 3.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17256 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5db7753f7b
commit
fc64045420
4
README
4
README
@ -75,8 +75,8 @@ How do I upgrade from an earlier LyX version?
|
||||
What do I need to compile LyX from the source distribution?
|
||||
|
||||
* A good C++ compiler. Development is being done mainly with
|
||||
gcc/g++, but some others work also. As of LyX 1.4.0, you need at
|
||||
least gcc 3.x.
|
||||
gcc/g++, but some others work also. As of LyX 1.5.0, you need at
|
||||
least gcc 3.2.x.
|
||||
|
||||
* The Qt4 library, version 4.1.1 or newer.
|
||||
|
||||
|
@ -331,7 +331,9 @@ PitPosPair eraseSelectionHelper(BufferParams const & params,
|
||||
void putClipboard(ParagraphList const & paragraphs, textclass_type textclass,
|
||||
docstring const & plaintext)
|
||||
{
|
||||
Buffer buffer(string(), false);
|
||||
// For some strange reason gcc 3.2 and 3.3 do not accept
|
||||
// Buffer buffer(string(), false);
|
||||
Buffer buffer("", false);
|
||||
buffer.setUnnamed(true);
|
||||
buffer.paragraphs() = paragraphs;
|
||||
buffer.params().textclass = textclass;
|
||||
@ -728,7 +730,9 @@ void pasteClipboard(LCursor & cur, ErrorList & errorList, bool asParagraphs)
|
||||
if (theClipboard().hasLyXContents()) {
|
||||
string lyx = theClipboard().getAsLyX();
|
||||
if (!lyx.empty()) {
|
||||
Buffer buffer(string(), false);
|
||||
// For some strange reason gcc 3.2 and 3.3 do not accept
|
||||
// Buffer buffer(string(), false);
|
||||
Buffer buffer("", false);
|
||||
buffer.setUnnamed(true);
|
||||
if (buffer.readString(lyx)) {
|
||||
recordUndo(cur);
|
||||
|
Loading…
Reference in New Issue
Block a user