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.
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;
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);