Hi,
today I downloaded and installed the latest (?) version of lcc
(lccwin32.exe,
6.225.659 bytes)) on my XP system. Whenever I now try to
recompile my old projects, I get tons of error messages I did
not get before and that do not seem to result from my own code but rather
be caused by conflicing library codes between "math.h" and "tgmath.h".
I am pasting the typical error messages below. Any help is appreciated
Andy
-----------------------------------------------------------------------------------------------------
Wedit output window build: Mon Jan 07 15:25:04 2008
cpp: c:\programme\lcc\include\tgmath.h:125
c:\programme\lcc\include\math.h:446 c:\c\pmlandauwang\pmlw.c:3 Macro
redefinition of log, previously defined in c:\programme\lcc\include\math.h
165
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
badly formed overloaded declaration
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
syntax error; found `(' expecting ')'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
skipping `(' `sizeof' `('
Warning c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
old-style function definition for '___log_void'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
empty declaration
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
Syntax error; missing semicolon before `)'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
skipping `)' `<='
Warning c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
missing prototype for '___log_void'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
syntax error; found `8' expecting '{'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
Syntax error; missing semicolon before `)'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
illegal statement termination
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
skipping `)' `?'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
illegal expression
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
Syntax error; missing semicolon before `:'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
illegal statement termination
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
skipping `:'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
illegal expression
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
Syntax error; missing semicolon before `)'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
illegal statement termination
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 121
skipping `)'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 122
Syntax error; missing semicolon before `__log'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 122
undeclared identifier '__log'
Error c:\c\pmlandauwang\pmlw.c: c:\programme\lcc\include\tgmath.h: 122
too
many errors
Compilation + link time:0.2 sec, Return code: 1