File tree Expand file tree Collapse file tree 4 files changed +21
-16
lines changed
autosar/test/rules/A18-0-3
common/test/includes/standard-library Expand file tree Collapse file tree 4 files changed +21
-16
lines changed Original file line number Diff line number Diff line change 1
- | test.cpp:4:3:4:16 | call to setlocale | Use of <clocale> function 'std:: setlocale'. |
2
- | test.cpp:5:3:5:16 | call to setlocale | Use of <clocale> function 'std:: setlocale'. |
3
- | test.cpp:6:3:6:16 | call to setlocale | Use of <clocale> function 'std:: setlocale'. |
4
- | test.cpp:7:3:7:16 | call to setlocale | Use of <clocale> function 'std:: setlocale'. |
5
- | test.cpp:8:3:8:16 | call to setlocale | Use of <clocale> function 'std:: setlocale'. |
6
- | test.cpp:9:3:9:16 | call to setlocale | Use of <clocale> function 'std:: setlocale'. |
7
- | test.cpp:10:20:10:34 | call to localeconv | Use of <clocale> function 'std:: localeconv'. |
1
+ | test.cpp:4:3:4:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
2
+ | test.cpp:5:3:5:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
3
+ | test.cpp:6:3:6:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
4
+ | test.cpp:7:3:7:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
5
+ | test.cpp:8:3:8:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
6
+ | test.cpp:9:3:9:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
7
+ | test.cpp:10:20:10:34 | call to localeconv | Use of <clocale> function 'localeconv'. |
8
8
| test.cpp:12:3:12:11 | call to setlocale | Use of <clocale> function 'setlocale'. |
9
9
| test.cpp:13:3:13:11 | call to setlocale | Use of <clocale> function 'setlocale'. |
10
10
| test.cpp:14:3:14:11 | call to setlocale | Use of <clocale> function 'setlocale'. |
Original file line number Diff line number Diff line change 1
- | test.cpp:10:8:10:12 | type mention | Use of <clocale> type 'std:: lconv'. |
1
+ | test.cpp:10:8:10:12 | type mention | Use of <clocale> type 'lconv'. |
2
2
| test.cpp:18:3:18:7 | type mention | Use of <clocale> type 'lconv'. |
Original file line number Diff line number Diff line change 8
8
#define LC_NUMERIC 0
9
9
#define LC_TIME 0
10
10
11
+ #include <locale.h>
12
+
11
13
namespace std {
12
- struct lconv;
13
- char *setlocale(int, const char *) ;
14
- lconv *localeconv() ;
14
+ using :: lconv;
15
+ using ::localeconv ;
16
+ using ::setlocale ;
15
17
} // namespace std
16
-
17
- // global namespace
18
- struct lconv;
19
- char *setlocale(int, const char *);
20
- lconv *localeconv();
Original file line number Diff line number Diff line change
1
+ #ifndef _GHLIBCPP_LOCALE
2
+ #define _GHLIBCPP_LOCALE
3
+
4
+ struct lconv ;
5
+ char * setlocale (int , const char * );
6
+ lconv * localeconv ();
7
+
8
+ #endif // _GHLIBCPP_LOCALE
You can’t perform that action at this time.
0 commit comments