Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000671Taste[All Projects] Generalpublic2017-09-11 07:192024-03-20 13:18
Reportermaxime 
Assigned Tottsiodras 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Summary0000671:

Warnings at compile time

Description

This ticket keeps track of the warnings emitted during the compilation of auto-generated code. The goal is to have zero warnings.

Edit this ticket when (1) you find a new warning
(2) you have fixed a tool and a warning is gone

1.

dataview-uniq.c: In function 'asn1SccMyChoice_ACN_Encode':
dataview-uniq.c:1154:6: warning: enumeration value 'MyChoice_NONE' not handled in switch [-Wswitch-enum]
      switch(pVal->kind)
  ^~~~~~

EDIT: FIXED

2.

x86_partition_taste_api.c: In function 'x86_partition_taste_api_PI_my_function_has_pending_msg':
x86_partition_taste_api.c:22:79: warning: unused parameter 'res' [-Wunused-parameter]
 void x86_partition_taste_api_PI_my_function_has_pending_msg(asn1SccT_Boolean *res) {
                                                                           ^~~
In file included from x86_partition_taste_api_vm_if.c:12:0:
x86_partition_taste_api.h:15:17: warning: 'debugCheckQ' defined but not used [-Wunused-variable]
     static bool debugCheckQ = false;

EDIT: FIXED

3.

my_function_polyorb_interface.c: In function 'po_hi_c_my_function_my_cycle':
my_function_polyorb_interface.c:13:51: warning: unused parameter 'e' [-Wunused-parameter]
 void po_hi_c_my_function_my_cycle(__po_hi_task_id e)

4.

D_view_aadlv2.aadl:50:05: Warning: Source_Language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list.
D_view_aadlv2.aadl:50:05: Warning: The value of Source_Language has been converted into a list.

5.

/home/taste/tool-src/kazoo/test/Demo_C/work/build/deploymentview_final/polyorb-hi-c/src/po_hi_task.c:536:40: warning: cast between incompatible function types from 'void * (*)(void)' to 'void * (*)(void *)' [-Wcast-function-type]
  536 |     err = pthread_create (&tid, &attr, (void* (*)(void*))start_routine, arg);
      |                                        ^
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002994)
ttsiodras (administrator)
2017-09-11 08:18

Which project do these come from? Maybe it makes sense to commit it in the testSuites or at least attach it here.

(0003114)
hugues (administrator)
2017-11-14 17:00

This is a general ticket for improving it. Currently, code generated by asn1scc and Ocarina have warnings.
for Ocarina, the issue is known and will be handled as part of Peraspera, for asn1scc, this is to be discussed wether you consider this as an issue.


- Issue History
Date Modified Username Field Change
2017-09-11 07:19 maxime New Issue
2017-09-11 07:20 maxime Description Updated View Revisions
2017-09-11 08:18 ttsiodras Note Added: 0002994
2017-11-14 17:00 hugues Note Added: 0003114
2017-11-14 17:00 hugues Assigned To

=> ttsiodras

2017-11-14 17:00 hugues Status

new => assigned

2020-10-11 17:00 maxime Description Updated View Revisions
2020-10-11 17:04 maxime Description Updated View Revisions
2020-10-11 17:05 maxime Description Updated View Revisions
2020-10-11 17:06 maxime Description Updated View Revisions
2024-03-20 13:18 maxime Status

assigned => closed

2024-03-20 13:18 maxime Resolution

open => fixed



Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker