Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

On build errors, but application started after F9

(1/1)

kisoft:
Project maked with my Makefile. Project create DLL for Win application (Dynamic Library).

After edit source file, I press Ctrl-F9. In "Build log" I see errors (see screenshot).
If I press F9, then application is started after building (with errors). Why?
I see on screenshot, that a building process ended with "1 errors, 0 warnings".

Why not controlled an error count before start application?
It's feature or bug?


[attachment deleted by admin]

rickg22:
If I press F9, then application is started after building (with errors). Why?

The process was terminated with status 0. AFAIK, GCC exits with status 1 when there's a compiling error. But shouldn't GNUMake do the same?

kisoft:

--- Quote from: rickg22 on November 15, 2005, 06:51:52 pm ---...
The process was terminated with status 0. AFAIK, GCC exits with status 1 when there's a compiling error. But shouldn't GNUMake do the same?

--- End quote ---
I use GNUMake (win version):
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-cygwin
keys for build project: --win32 && -j1

I understand your "train of tought".
Errors count not equ 0, what's problem.

Ok, thanks for idea.
I would try solve this trouble with your idea.

mandrav:

--- Quote ---GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-cygwin
--- End quote ---

Is there a particular reason you use this version instead of 3.80?  :shock:

kisoft:

--- Quote from: mandrav on November 16, 2005, 08:50:34 am ---
--- Quote ---GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-cygwin
--- End quote ---
Is there a particular reason you use this version instead of 3.80?  :shock:

--- End quote ---

We use GNUMake historically. Project started a some years ago yet on OS/2 (IBM) operation system.
I connect to this project a two years ago. All works, we no have reasons for change make.exe.

So, problem was in an other hand.
For build project I exec make.cmd, and after call GNUMake, make.cmd execute another utility.
@GnuMake.exe -j1
@Foo.exe
Errorlevel is broke on script finish, of course.
Now all right!

I understand, main rule:
If a build process have errors, a build process MUST return errorlevel not equ 0.
And second. If a build process returned not equ 0 errorlevel, automatically focused
the "Build messages" window.

PS May be I have reason for use the mingw-make vs GNUMake.

Navigation

[0] Message Index

Go to full version