Thanks Jürgen,

that helped a lot.  I am, however, still seeing:

g++ -DHAVE_CONFIG_H -I. -I..    -Wall -O2  -I ./sql -I
/home/blake/Backup/apl     -I/usr/include -I/usr/include
 -Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl
-MT apl-Command.o -MD -MP -MF .deps/apl-Command.Tpo -c -o apl-Command.o
`test -f 'Command.cc' || echo './'`Command.cc
Command.cc: In static member function ‘static void
Command::cmd_COPY_ONCE(std::ostream&, UCS_string_vector&)’:
Command.cc:1174:38: warning: arithmetic between different enumeration types
‘LibRef’ and ‘Unicode’ is deprecated [-Wdeprecated-enum-enum-conversion]
 1174 | UCS_string lib_wsname(Unicode(libref + UNI_0));
      |                               ~~~~~~~^~~~~~~


AND


g++ -DHAVE_CONFIG_H -I. -I..    -Wall -O2  -I ./sql -I
/home/blake/Backup/apl     -I/usr/include -I/usr/include
 -Wno-maybe-uninitialized -Wno-class-memaccess -I /home/blake/Backup/apl
-MT apl-Quad_SVx.o -MD -MP -MF .deps/apl-Quad_SVx.Tpo -c -o apl-Quad_SVx.o
`test -f 'Quad_SVx.cc' || echo './'`Quad_SVx.cc
Quad_SVx.cc: In member function ‘virtual Token Quad_SVS::eval_B(cValue_R)
const’:
Quad_SVx.cc:710:33: warning: bitwise operation between different
enumeration types ‘const Svar_state’ and ‘Svar_Control’ is deprecated
[-Wdeprecated-enum-enum-conversion]
  710 |         Z->next_ravel_Int(state & SET_BY_1 ? 1 : 0);
      |                           ~~~~~~^~~~~~~~~~
Quad_SVx.cc:711:33: warning: bitwise operation between different
enumeration types ‘const Svar_state’ and ‘Svar_Control’ is deprecated
[-Wdeprecated-enum-enum-conversion]
  711 |         Z->next_ravel_Int(state & SET_BY_2 ? 1 : 0);
      |                           ~~~~~~^~~~~~~~~~
Quad_SVx.cc:712:33: warning: bitwise operation between different
enumeration types ‘const Svar_state’ and ‘Svar_Control’ is deprecated
[-Wdeprecated-enum-enum-conversion]
  712 |         Z->next_ravel_Int(state & USE_BY_1 ? 1 : 0);
      |                           ~~~~~~^~~~~~~~~~
Quad_SVx.cc:713:33: warning: bitwise operation between different
enumeration types ‘const Svar_state’ and ‘Svar_Control’ is deprecated
[-Wdeprecated-enum-enum-conversion]
  713 |         Z->next_ravel_Int(state & USE_BY_2 ? 1 : 0);
      |                           ~~~~~~^~~~~~~~~~


Thanks!

Blake


On Tue, Jul 7, 2026 at 9:16 AM Dr. Jürgen Sauermann <
mail@jürgen-sauermann.de> wrote:

> Hi Blake,
>
> thanks, fixed in *SVN 2034*.
>
> Some warnings are outright ridiculous:
>
> ++job_number warns,
> job_number = job_number + 1 does not (I hope).
>
> Best Regards,
> Jürgen
>
>
> On 7/6/26 01:57, Blake McBride wrote:
>
> Repeated build warnings
>
> Greetings,
>
> When I build the current system, I see the following warning over and over:
>
> g++ -DHAVE_CONFIG_H -I. -I..    -Wall  -I ./sql -I /home/blake/Backup/apl
>     -I/usr/include -I/usr/include    -Wno-maybe-uninitialized
> -Wno-class-memaccess -I /home/blake/Backup/apl -MT
> sql/apl-SqliteArgListBuilder.o -MD -MP -MF
> sql/.deps/apl-SqliteArgListBuilder.Tpo -c -o sql/apl-SqliteArgListBuilder.o
> `test -f 'sql/SqliteArgListBuilder.cc' || echo
> './'`sql/SqliteArgListBuilder.cc
> In file included from ./ScalarFunction.hh:30,
>                  from ./Workspace.hh:40,
>                  from ./Native_interface.hh:59,
>                  from sql/apl-sqlite.hh:36,
>                  from sql/SqliteArgListBuilder.hh:27,
>                  from sql/SqliteArgListBuilder.cc:24:
> ./Thread_context.hh: In member function ‘void Thread_context::PF_join()’:
> ./Thread_context.hh:94:11: warning: ‘++’ expression of
> ‘volatile’-qualified type is deprecated [-Wvolatile]
>    94 |         ++job_number;            // we reached master job_number
>       |           ^~~~~~~~~~
> ./Thread_context.hh: In static member function ‘static void
> Thread_context::M_fork(const char*)’:
> ./Thread_context.hh:135:24: warning: ‘++’ expression of
> ‘volatile’-qualified type is deprecated [-Wvolatile]
>   135 |         ++get_master().job_number;
>       |           ~~~~~~~~~~~~~^~~~~~~~~~
>
> Thanks!
>
> Blake
>
>
>

Reply via email to