Home » Community » U++ community news and announcements » U++ 2019.1.rc4 released
Re: U++ 2019.1.rc4 released [message #51612 is a reply to message #51601] |
Fri, 19 April 2019 16:43 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Fri, 19 April 2019 06:27
Did it trigger any valgrind errors? If so, which ones?
Yes, they did. Please check the attached file.
mirek wrote on Fri, 19 April 2019 06:27
Quote:
(I fixed/added two constructors)
CppItem() : access(), kind(), at(), virt(), decla(), lvalue(), isptr(), filetype(), impl(), file(), line(), qualify(true) {}
struct PPItem {
PPItem() : type(), segment_id() {}
These changes won't make TheIDE any slower.
Probably not noticeably, but it is matter of principle: Do I need from now on to initialize variables that are not used in particular branch of code?
Well, valgrind and sanitizers is very often the only way to figure out an origin of a problem because sometimes this can be a bug with a compiler but the code itself. An when I see a lot of garbage in the output I just want to stop using the code because it is unprofessional. It is not that hard to fix all errors reported by valgrind and sanitizers.
In the second case both members are used, I believe.
In the first case I initialized everything because I didn't have time to figure out which one exactly is used uninitialized.
mirek wrote on Fri, 19 April 2019 06:27
Quote:
This is C++98 initialization style. I didn't do that C++11 way for compatibility reason.
Why?
Old habit.
-
Attachment: vg.log.02
(Size: 366.17KB, Downloaded 189 times)
Regards,
Novo
|
|
|
|
|
U++ 2019.1.rc4 released
By: mirek on Mon, 15 April 2019 08:23
|
|
|
Re: U++ 2019.1.rc4 released
By: koldo on Mon, 15 April 2019 08:54
|
|
|
Re: U++ 2019.1.rc4 released
By: Tom1 on Tue, 16 April 2019 08:39
|
|
|
Re: U++ 2019.1.rc4 released
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Wed, 17 April 2019 21:31
|
|
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 10:53
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Fri, 19 April 2019 00:32
|
|
|
Re: U++ 2019.1.rc4 released
By: mirek on Fri, 19 April 2019 12:27
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Fri, 19 April 2019 16:43
|
|
|
Re: U++ 2019.1.rc4 released
|
|
|
Re: U++ 2019.1.rc4 released
By: forlano on Wed, 17 April 2019 23:43
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Thu, 18 April 2019 00:22
|
|
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 07:59
|
|
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 08:03
|
|
|
Re: U++ 2019.1.rc4 released
|
|
|
Re: U++ 2019.1.rc4 released
By: Tom1 on Thu, 18 April 2019 10:30
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Thu, 18 April 2019 22:20
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Sat, 20 April 2019 00:33
|
|
|
Re: U++ 2019.1.rc4 released
By: mirek on Mon, 22 April 2019 11:03
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Sat, 20 April 2019 00:51
|
|
|
Re: U++ 2019.1.rc4 released
By: mirek on Mon, 22 April 2019 11:08
|
|
|
Re: U++ 2019.1.rc4 released
By: mirek on Tue, 23 April 2019 09:53
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Tue, 23 April 2019 15:33
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Tue, 23 April 2019 15:36
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Tue, 23 April 2019 15:05
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Sat, 20 April 2019 00:57
|
|
|
Re: U++ 2019.1.rc4 released
By: mirek on Sat, 20 April 2019 01:06
|
|
|
Re: U++ 2019.1.rc4 released
By: Novo on Sat, 20 April 2019 04:46
|
Goto Forum:
Current Time: Sat Sep 21 03:03:27 CEST 2024
Total time taken to generate the page: 0.04321 seconds
|