Incidencia #45267

generate_packets.py: Generated code call 'are_cm_parameters_equal()'

Abrir Fecha: 2022-07-29 23:45 Última actualización: 2022-08-23 23:59

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
1

Details

When a packet definition containing cm_parameter is added to packets.def (there isn't any at the moment), compile fails for are_cm_parameters_equal() calls in packets_gen.c. I guess it should be cm_are_parameters_equal()

Ticket History (3/7 Histories)

2022-07-29 23:45 Updated by: cazfi
  • New Ticket "generate_packets.py: Generated code call 'are_cm_parameters_equal()'" created
2022-07-30 00:02 Updated by: cazfi
Comentario

Reply To cazfi

When a packet definition containing cm_parameter is added to packets.def

Example is in WIP patch attached to #45268

2022-07-30 18:08 Updated by: alienvalkyrie
Comentario

Typo in the generate_packets type parsing code. I'm a bit busy, so I haven't tested the patch in action, but it should work. If not, I'll have to take a closer look.

(Edited, 2022-07-30 18:08 Updated by: alienvalkyrie)
2022-08-17 17:52 Updated by: cazfi
  • Hito Update from (Ninguno) to 3.2.0
Comentario

It works.

2022-08-22 10:22 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2022-08-23 23:59 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Attachment File List

Editar

Please login to add comment to this ticket » Entrar