summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/splay/sigsev.c
blob: 906d8cb9ef46628faa0c70d80df0b895590f6f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
  No SegFault:

  g++ -o sigsev.exe sigsevTest.cpp 

  SegFault:

  g++ -o sigsev.exe -O6 sigsevTest.cpp 
 */

#include <stdio.h>
#undef __NO_MATH_INLINES                  // <<<< Add this line
#define __NO_MATH_INLINES 1               // <<<<   and this.
#include <math.h>


int main() {
  printf("hello Martin test->main\n");

  //pow(6.0,3.0);
  float value;
  value=cos(double(0));
  printf("Wert: %f\n",value);
  pow(6.0,3.0);

  printf("hi:\n");
  exit(0);
}