Subj : Re: compiling with bcc32.exe, error in ddeml.h ??? To : borland.public.cpp.borlandcpp From : P. Magne Date : Wed Feb 09 2005 09:00 am Hy, The line numbers error are shown but I didn't write them in my message. Warning : c:\bc_5_02\include\win32\ddeml.h 22 : style of function definition is now obsolete Error : c:\bc_5_02\include\win32\ddeml.h 22 : { expected Error : c:\bc_5_02\include\win32\ddeml.h 31 : Type name expected Error : c:\bc_5_02\include\win32\ddeml.h 31 : declaration missing ; The file windows.h is included in the folder INCLUDE of bcc32.cfg. If I compile my program with Borland C++ IDE it'sok, but I want to compile it from the command line to do it automatically. Have you another idea about my problem ? "Ed Mulroy [TeamB]" a écrit dans le message de news:4208baa0@newsgroups.borland.com... > 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 ??? > > > .