NO

Author Topic: Bug when building wokspace  (Read 890 times)

Jokaste

  • Guest
Bug when building wokspace
« on: June 28, 2018, 05:33:31 am »
When building the wokspace the version number of each project is incremented twice!
Quote
------------------------------------------------------
Output Tab

Project opened: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Project saved: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Project saved: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Project saved: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Project saved: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Project saved: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Project saved: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Project saved: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Project saved: C:\Users\Grincheux\Documents\Earth\Chloe\Verif.ppj
Chloe.rc set to version 1.2.3.753
Compare.rc set to version 1.0.0.11
Maxime.rc set to version 1.0.0.68
Plus.rc set to version 1.0.0.9
Random.rc set to version 1.0.0.10
Rename.rc set to version 1.0.0.7
UnCompress.rc set to version 1.0.0.7
Verif.rc set to version 1.0.0.7
Project build started
Project build ended successfully
Chloe.rc set to version 1.2.3.754
Compare.rc set to version 1.0.0.12
Maxime.rc set to version 1.0.0.69
Plus.rc set to version 1.0.0.10
Random.rc set to version 1.0.0.11
Rename.rc set to version 1.0.0.8
UnCompress.rc set to version 1.0.0.8
Verif.rc set to version 1.0.0.8
Project build started
Project build ended successfully
------------------------------------------------------
Project Tab

- - - - - - - - - - Verif.exe
Building Common.obj.
Building Error.obj.
Building Information.obj.
Building Init.obj.
Building Verif.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\Verif.c(35): warning #2118: Parameter '__nCmdShow' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Verif.c(35): warning #2118: Parameter '__lpszCmdLine' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Verif.c(35): warning #2118: Parameter '__hPrevInstance' is not referenced.
Building Verif.res.
Building Verif.exe.
- - - - - - - - - - Maxime.exe
Building Common.obj.
Building Error.obj.
Building Information.obj.
Building Init.obj.
Building MaxCompress.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxCompress.c(31): warning #2006: Conversion from 'int' to 'unsigned char *' is not portable.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxCompress.c(41): warning #2006: Conversion from 'int' to 'unsigned char *' is not portable.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxCompress.c(49): warning #2006: Conversion from 'int' to 'unsigned char *' is not portable.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxCompress.c(60): warning #2006: Conversion from 'int' to 'unsigned char *' is not portable.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxCompress.c(72): warning #2006: Conversion from 'int' to 'unsigned char *' is not portable.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxCompress.c(82): warning #2006: Conversion from 'int' to 'unsigned char *' is not portable.
Building MaxHuffman.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(189): warning #2215: Conversion from 'int' to 'unsigned char'; possible loss of data.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(250): warning #2804: Consider changing type to 'size_t' for loop variable 'sym_idx'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(244): warning #2261: Loop with no effect removed (any visible side-effects are retained).
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(261): warning #2261: Loop with no effect removed (any visible side-effects are retained).
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(250): warning #2804: Consider changing type to 'size_t' for loop variable 'sym_idx'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(423): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(415): inlined from C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(312): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(412): inlined from C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(219): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(415): inlined from C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(307): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
Building Maxime.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\Maxime.c(505): warning #2006: Conversion from 'unsigned char *' to 'unsigned long int' is not portable.
C:\Users\Grincheux\Documents\Earth\Chloe\Maxime.c(893): warning #2118: Parameter '__lpszCmdLine' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Maxime.c(893): warning #2118: Parameter '__hPrevInstance' is not referenced.
Building Maxime.res.
Building MaxObserver.obj.
Building MaxTables.obj.
Building MaxUtils.obj.
Building MaxVectors.obj.
Building MemorySetTo0.obj.
Building StringLength.obj.
Building Maxime.exe.
- - - - - - - - - - Plus.exe
Building Common.obj.
Building Error.obj.
Building Information.obj.
Building Init.obj.
Building Plus.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\Plus.c(33): warning #2118: Parameter '__nCmdShow' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Plus.c(33): warning #2118: Parameter '__lpszCmdLine' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Plus.c(33): warning #2118: Parameter '__hPrevInstance' is not referenced.
Building Plus.res.
Building StringLength.obj.
Building Plus.exe.
- - - - - - - - - - Random.exe
Building Error.obj.
Building Random.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\Random.c(119): warning #2118: Parameter '__nCmdShow' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Random.c(119): warning #2118: Parameter '__lpszCmdLine' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Random.c(119): warning #2118: Parameter '__hPrevInstance' is not referenced.
Building Random.res.
Building Random.exe.
- - - - - - - - - - Chloe.exe
Building Chloe.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\Chloe.c(14): warning #2118: Parameter '__lParam' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Chloe.c(83): warning #2232: Unable to check variable arguments to 'sprintf'.
C:\Users\Grincheux\Documents\Earth\Chloe\Chloe.c(1476): warning #2118: Parameter '__lpszCmdLine' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Chloe.c(1476): warning #2118: Parameter '__hPrevInstance' is not referenced.
Building Chloe.res.
Building Clipboard.obj.
Building Common.obj.
Building Datas.obj.
Building Draw.obj.
Building Error.obj.
Building Information.obj.
Building Init.obj.
Building MemorySetTo0.obj.
Building Paint.obj.
Building Save.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\Save.c(466): warning #2118: Parameter '__lParam' is not referenced.
Building StringLength.obj.
Building Utils.obj.
Building Web Sites.obj.
Building Chloe.exe.
- - - - - - - - - - Compare.exe
Building Common.obj.
Building Compare.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\Compare.c(35): warning #2118: Parameter '__nCmdShow' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Compare.c(35): warning #2118: Parameter '__lpszCmdLine' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Compare.c(35): warning #2118: Parameter '__hPrevInstance' is not referenced.
Building Compare.res.
Building Error.obj.
Building Init.obj.
Building StringLength.obj.
Building Compare.exe.
- - - - - - - - - - Rename.exe
Building Common.obj.
Building Error.obj.
Building Information.obj.
Building Init.obj.
Building MaxUtils.obj.
Building MemorySetTo0.obj.
Building Rename.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\Rename.c(142): warning #2118: Parameter '__nCmdShow' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Rename.c(142): warning #2118: Parameter '__lpszCmdLine' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\Rename.c(142): warning #2118: Parameter '__hPrevInstance' is not referenced.
Building Rename.res.
Building StringLength.obj.
Building Rename.exe.
- - - - - - - - - - UnCompress.exe
Building Common.obj.
Building Error.obj.
Building Information.obj.
Building MaxHuffman.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(189): warning #2215: Conversion from 'int' to 'unsigned char'; possible loss of data.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(219): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(250): warning #2804: Consider changing type to 'size_t' for loop variable 'sym_idx'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(312): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(285): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(307): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
C:\Users\Grincheux\Documents\Earth\Chloe\MaxHuffman.c(423): warning #2804: Consider changing type to 'size_t' for loop variable 'k'.
Building MaxUtils.obj.
Building MemorySetTo0.obj.
Building StringLength.obj.
Building UnCompress.obj.
C:\Users\Grincheux\Documents\Earth\Chloe\UnCompress.c(238): warning #2118: Parameter '__hWnd' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\UnCompress.c(261): warning #2118: Parameter 'codeNotify' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\UnCompress.c(261): warning #2118: Parameter '__hWndCtrl' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\UnCompress.c(289): warning #2118: Parameter '__lpszCmdLine' is not referenced.
C:\Users\Grincheux\Documents\Earth\Chloe\UnCompress.c(289): warning #2118: Parameter '__hPrevInstance' is not referenced.
Building UnCompress.res.
Building UnCompress.exe.
Done.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1836
Re: Bug when building wokspace
« Reply #1 on: June 28, 2018, 10:10:09 am »
Have you several buildver Add_Ins or just the default one?
« Last Edit: June 28, 2018, 01:48:42 pm by TimoVJL »
May the source be with you

Jokaste

  • Guest
Re: Bug when building wokspace
« Reply #2 on: June 28, 2018, 10:24:33 am »
I have only one buildver addin and the version files is in the same directory. I have installed Pelles and nothing else. Note that at the beguinning of the listing the project name is repeated eight times rather than the name of the eight projects!

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1836
Re: Bug when building wokspace
« Reply #3 on: June 28, 2018, 11:19:23 am »
That Add-In is not quite good for that purpose, as it scans resource files in directory, not in project only.
Maybe sub directories for projects helps.
The project cleaning is a problem too or is it?

Project name is repeated as events Add-In returns projects info from current project only,
so not so useful for a workspace with several projects.
AIE_PRJ_STARTBUILD:
Quote
The build of a project or workspace will start. The argument hwnd contains the handle of the project window. [2.90]

EDIT: A dilemma:
With workspaces Add-In don't know where it comes, so it needs individual events for each projects.
Now it have an event only for the current project :(
« Last Edit: June 28, 2018, 02:21:20 pm by TimoVJL »
May the source be with you

Jokaste

  • Guest
Re: Bug when building wokspace
« Reply #4 on: June 28, 2018, 06:11:35 pm »
So this is a bug.
Thanks Timo, It is not a problem for me. :)