Skip to content

Instantly share code, notes, and snippets.

View dnadlinger's full-sized avatar

David Nadlinger dnadlinger

View GitHub Profile
module CustomNumberFormat
DECIMAL_SEPARATOR = ','
module ActiveRecord
def self.included( base )
base.send :extend, ClassMethods
base.class_eval do
class << self
alias_method_chain :define_write_method, :conversion
Application: KWin (kwin), signal SIGSEGV
Thread 1 (Thread 0xb58da6e0 (LWP 6178)):
[KCrash Handler]
#6 0xb395b9d2 in KWin::PresentWindowsEffect::setHighlightedWindow (this=0x9e45300, w=0x9b84a08) at /media/build/src/KDE/kdebase/workspace/kwin/effects/presentwindows.cpp:1262
#7 0xb396232d in KWin::PresentWindowsEffect::rearrangeWindows (this=0x9e45300) at /media/build/src/KDE/kdebase/workspace/kwin/effects/presentwindows.cpp:476
#8 0xb3963061 in KWin::PresentWindowsEffect::setActive (this=0x9e45300, active=true, closingTab=false) at /media/build/src/KDE/kdebase/workspace/kwin/effects/presentwindows.cpp:1145
#9 0xb3968d39 in KWin::PresentWindowsEffect::toggleActiveAllDesktops (this=0x9e45300) at /media/build/src/KDE/kdebase/workspace/kwin/effects/presentwindows.h:99
#10 0xb3963748 in KWin::PresentWindowsEffect::qt_metacall (this=0x9e45300, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb296ec)
at /media/build/build/KDE/kdebase/workspace/kwin/effects/presentwindows.moc:76
module Main;
struct Struct {
static Struct opCall( float value ) {
Struct newStruct;
newStruct.value = value;
return newStruct;
}
Struct method() {
Index: include/assimp.h
===================================================================
--- include/assimp.h (revision 449)
+++ include/assimp.h (working copy)
@@ -148,7 +148,7 @@
* @note This is a straightforward way to decode models from memory buffers, but it
* doesn't handle model formats spreading their data across multiple files or even
* directories. Examples include OBJ or MD3, which outsource parts of their material
- * stuff into external scripts. f you need the full functionality, provide a custom
+ * stuff into external scripts. If you need the full functionality, provide a custom
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 0 (LWP 5308)]
Thread 7 (Thread 0xb1a52b90 (LWP 5318)):
#0 0xb8033430 in __kernel_vsyscall ()
#1 0xb6ec4412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6f4c0da in QWaitConditionPrivate::wait (this=0xa333ef0, time=200000) at thread/qwaitcondition_unix.cpp:85
#3 0xb6f4bbf3 in QWaitCondition::wait (this=0xa31443c, mutex=0xa314440, time=200000) at thread/qwaitcondition_unix.cpp:159
#4 0xb5e121eb in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa314430) at /media/build/src/KDE/kdevplatform/language/duchain/duchain.cpp:280
#5 0xb6f4b7cf in QThreadPrivate::start (arg=0xa314430) at thread/qthread_unix.cpp:189
==8867== Conditional jump or move depends on uninitialised value(s)
==8867== at 0x5088604: QFSFileEngine::fileName(QAbstractFileEngine::FileName) const (qfsfileengine_unix.cpp:783)
==8867== by 0x504D36C: QFileInfoPrivate::getFileName(QAbstractFileEngine::FileName) const (qfileinfo.cpp:202)
==8867== by 0x504D447: QFileInfo::readLink() const (qfileinfo.cpp:1137)
==8867== by 0x50483B3: QFile::readLink(QString const&) (qfile.cpp:633)
diff --git a/build/build.sh b/build/build.sh
index f8cc708..b8e79b7 100755
--- a/build/build.sh
+++ b/build/build.sh
@@ -65,7 +65,7 @@ do
no_install=1
;;
--clean)
- clean_only=
+ clean_only=1
diff --git a/gen/asmstmt.cpp b/gen/asmstmt.cpp
--- a/gen/asmstmt.cpp
+++ b/gen/asmstmt.cpp
@@ -3,6 +3,7 @@
#include "gen/llvm.h"
#include "llvm/InlineAsm.h"
+#include "llvm/Support/raw_ostream.h"
//#include "d-gcc-includes.h"
module redimple;
import tools.mersenne, tools.compat : logf = log;
import Float = tango.text.convert.Float;
import Integer = tango.text.convert.Integer;
import tango.io.Console;
alias char[] string;
bool equal( T )( T a, T b ) {
make[1]: Entering directory `/home/aule/llvm/build/lib/System'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/aule/llvm/build/lib/System'
make[1]: Entering directory `/home/aule/llvm/build/lib/Support'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/aule/llvm/build/lib/Support'
make[1]: Entering directory `/home/aule/llvm/build/utils'
make[2]: Entering directory `/home/aule/llvm/build/utils/fpcmp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/aule/llvm/build/utils/fpcmp'