Skip to content

Instantly share code, notes, and snippets.

View ehsan's full-sized avatar

Ehsan Akhgari ehsan

View GitHub Profile
@ehsan
ehsan / test.c
Created January 24, 2012 00:03
Testcase for emscripten bug
#include <stdlib.h>
#include <stdio.h>
void
print_matrix(float* arr, unsigned count) {
unsigned i;
for (i = 0; i < count; ++i) {
printf("%f ", arr[i]);
}
puts("");
#!/usr/bin/env python
'''
emcc - compiler helper script
=============================
emcc is a drop-in replacement for a compiler like gcc or clang.
Tell your build system to use this instead of the compiler, and similarly
use emar, emld and emranlib instead of the same command without 'em'.
#include <stdio.h>
typedef struct x {
int s;
char c[512*1024];
} calc_t;
calc_t calcs[1];
int main() {
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
clang: warning: argument unused during compilation: '-nostdinc++'
commit bf254ad5d173886fbe92eca95d1433b7a761e333
Author: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Date: Tue Jan 31 08:47:24 2012 -0500
Bug 77149 - WebGL conformance test misc/functions-returning-strings.html
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 7ae343e..77fdce4 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
/ActivityManager( 205): Start proc org.mozilla.fennec for activity org.mozilla.fennec/.App: pid=31599 uid=10074 gids={3003, 1015, 1006}
D/szipinf (31599): Initializing inflate state
I/ActivityThread(31599): Pub org.mozilla.fennec.db.browser: org.mozilla.fennec.db.BrowserProvider
D/GeckoBrowserProvider(31599): Creating BrowserProvider
I/GeckoDirProvider(31599): Get profile dir for default
W/ApplicationContext(31599): Unable to create files directory
E/GeckoBrowserProvider(31599): Error getting profile dir
E/GeckoBrowserProvider(31599): java.io.IOException: Unable to create mozilla directory at mozilla
E/GeckoBrowserProvider(31599): at org.mozilla.gecko.GeckoDirProvider.ensureMozillaDirectory(GeckoDirProvider.java:140)
E/GeckoBrowserProvider(31599): at org.mozilla.gecko.GeckoDirProvider.getProfileDir(GeckoDirProvider.java:103)
# .gdbinit file for debugging Mozilla
# Don't stop for the SIG32/33/etc signals that Flash produces
handle SIG32 noprint nostop pass
handle SIG33 noprint nostop pass
handle SIGPIPE noprint nostop pass
# Show the concrete types behind nsIFoo
set print object on
# .gdbinit file for debugging Mozilla
# Don't stop for the SIG32/33/etc signals that Flash produces
handle SIG32 noprint nostop pass
handle SIG33 noprint nostop pass
handle SIGPIPE noprint nostop pass
# Show the concrete types behind nsIFoo
set print object on
# .gdbinit file for debugging Mozilla
# Don't stop for the SIG32/33/etc signals that Flash produces
handle SIG32 noprint nostop pass
handle SIG33 noprint nostop pass
handle SIGPIPE noprint nostop pass
# Show the concrete types behind nsIFoo
set print object on
# .gdbinit file for debugging Mozilla
# Don't stop for the SIG32/33/etc signals that Flash produces
handle SIG32 noprint nostop pass
handle SIG33 noprint nostop pass
handle SIGPIPE noprint nostop pass
# Show the concrete types behind nsIFoo
set print object on