Subj : Re: compiling with bcc32.exe, error in ddeml.h ??? To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Tue Feb 08 2005 08:12 am The make file is not related to the warning and error. No source code is shown and the error messages shown have the line numbers removed so I can only guess as to the cause. Try adding an include of windows.h on a line before the include of ddeml.h .. Ed > P. Magne wrote in message > news:42087c43@newsgroups.borland.com... > Hello, > > I try to compile a program with bcc32.exe in a makefile > but a ihave lots of error during compilation on the file ddeml.h. > > Here is my makefile : > DIR = d:\wkheops > CPP = d:\wkheops\cpp > d:\wkheops\wkutile.obj : $(CPP)\wkutile.cpp > bcc32 -tW -c $(CPP)\wkutile.cpp > > Here is my bcc32.cfg > -IC:\BC_5_02\INCLUDE > -IC:\BC_5_02\INCLUDE\OWL > -IC:\BC_5_02\INCLUDE\win32 > -ID:\WKHEOPS\CPP > -ID:\WKHEOPS\H > -ID:\WKHEOPS\HV > -ID:\WKHEOPS > -LC:\BC_5_02\LIB > -LD:\WKHEOPS > > Here are the errors: > Warning : c:\bc_5_02\include\win32\ddeml.h : style of function > definition is now obsolete > Error : c:\bc_5_02\include\win32\ddeml.h : { expected > Error : c:\bc_5_02\include\win32\ddeml.h : Type name expected > Error : c:\bc_5_02\include\win32\ddeml.h : declaration missing ; > > Can somebody tell me what's the problem, an include file missing ??? .