bugGNU Octave - Bugs: bug #64182, New warning compiling...

 
 

bug #64182: New warning compiling uniconv-wrappers.c

Submitter:  Rik <rik5>
Submitted:  Thu 11 May 2023 08:24:47 PM UTC
   
 
Category:  Configuration and Build System Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * stable Operating System:  * Any
Fixed Release:  8.3.0 Planned Release:  8.3.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 13 May 2023 12:08:50 PM UTC, comment #2: 

The warning has disappeared from the logs of the buildbots.

Closing as fixed.

Markus Mützel <mmuetzel>
Group administrator
Fri 12 May 2023 06:06:22 AM UTC, comment #1: 

Thank you for pointing that out.
This was a regression from f7206b6577c2. Fortunately, that hasn't been released yet.

Should be fixed on the stable branch now:
https://hg.savannah.gnu.org/hgweb/octave/rev/e2911d0176dc

Marking as ready for test.

Markus Mützel <mmuetzel>
Group administrator
Thu 11 May 2023 08:24:47 PM UTC, original submission:  

I get the following new warning while compiling the stable branch:


liboctave/wrappers/uniconv-wrappers.c: In function ‘octave_u8_conv_to_encoding_intern’:
liboctave/wrappers/uniconv-wrappers.c:88:5: warning: ‘u8_str’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   88 |     free ((void *) u8_str);
      |     ^~~~~~~~~~~~~~~~~~~~~~


This is with cset 66ecc0d4d6ce.

Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-05-13 mmuetzel StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2023-05-12 mmuetzel StatusNone Ready For Test
        Operating SystemGNU/Linux Any
        Fixed ReleaseNone 8.3.0
        Planned ReleaseNone 8.3.0
    2023-05-11 rik5 SummaryNew New warning compiling uniconv-wrappers.c

    Back to the top

    Powered by Savane 3.13-3e34.
    Corresponding source code