[EXT_EP-9001] Functions in <string> incorrectly return NULL Created: 19/Jul/18 Updated: 19/Feb/20 Resolved: 19/Jul/18 |
|
Status: | Fixed |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Generation Tools |
Internal ID: | CODEGEN-5033 |
Forum URL: | https://e2e.ti.com/support/development_tools/compiler/f/343/t/710494 |
Found In Release: | ARM_18.1.0.LTS MSP430_18.1.0.LTS MSP430_18.9.0.STS ARM_18.9.0.STS C6000_8.3.0 |
Fix In Release: | MSP430_18.9.0.STS ARM_18.9.0.STS ARM_18.1.4.LTS C6000_8.3.1 MSP430_18.1.4.LTS |
Workaround: | Ignore or suppress the warning. |
Release Notes: | char_traits<char>::find() and char_traits<wchar_t>::find() return char* and wchar_t*, respectively. In our __string file (included by <string>), they are written to return NULL, which is (void*)0 and not the same type as the declaration, thus producing a warning. We have updated the file to make them return 0, which fixes the warnings. |
Description |
Functions in <string> incorrectly return NULL |