octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62851] num2str: warning: concatenation of dif


From: anonymous
Subject: [Octave-bug-tracker] [bug #62851] num2str: warning: concatenation of different character string types may have unintended consequences
Date: Tue, 2 Aug 2022 08:09:42 -0400 (EDT)

Follow-up Comment #3, bug #62851 (project octave):

checked warnings:

>> warning
By default, warnings are disabled.
>>

Also checked all script files and found a command to first turn off all
warnings, then a subsequent one to turn on all warnings. Removing these
eliminates the warning. 

With the warning on, I was unable to change the string components to alleviate
the warning, so I wonder if something should be changed? It didn't matter
whether I was using only single quoted strings or double quoted. When I
changed the quoting in line 143 of num2str, it did silence the warning.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62851>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]