Displaying 1 result from an estimated 1 matches for "something_different".
2012 Mar 20
0
[LLVMdev] Runtime linker issue wtih X11R6 on i386 with -O3 optimization
...${CFLAGS} -fpic -c b.c
clang -shared -o libb.so b.o
app: liba.so libb.so
clang ${CFLAGS} -fpic app.c -o app
clean:
rm -f a.o b.o liba.so libb.so app
=== a.c ===
#include <stdio.h>
#include <stdlib.h>
#include "shared.h"
int something = 1;
int something_else = 1;
int something_different = 1;
void
moo(int x)
{
printf("made it to moo %d\n", x);
}
void
meh(int x)
{
printf("made it to meh %d\n", x);
}
void
foo(int x, int y, int z)
{
if (something) {
if (something_else) {
if (something_different) {
ex_func(x, y, z);
meh(y);
}
moo(x);
}
r...