~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to mpeglib/lib/splay/sigsev.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  No SegFault:
 
3
 
 
4
  g++ -o sigsev.exe sigsevTest.cpp 
 
5
 
 
6
  SegFault:
 
7
 
 
8
  g++ -o sigsev.exe -O6 sigsevTest.cpp 
 
9
 */
 
10
 
 
11
#include <stdio.h>
 
12
#undef __NO_MATH_INLINES                  // <<<< Add this line
 
13
#define __NO_MATH_INLINES 1               // <<<<   and this.
 
14
#include <math.h>
 
15
 
 
16
 
 
17
int main() {
 
18
  printf("hello Martin test->main\n");
 
19
 
 
20
  //pow(6.0,3.0);
 
21
  float value;
 
22
  value=cos(double(0));
 
23
  printf("Wert: %f\n",value);
 
24
  pow(6.0,3.0);
 
25
 
 
26
  printf("hi:\n");
 
27
  exit(0);
 
28
}
 
29