Activity for Robert Morin

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Hi, I saw this solution in StackOverflow but with 25+ years old code base with 500+ KLOC (C/C++), it's not my favorite solution. This is why I am looking for something only for the function parameters. This would reduce the scope to something maybe more manageable.

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Hi, is there an option with cppcheck to catch wrong typedef in parameters ? See the example here, ConvertMeter() and ConvertFeet() with the wrong parameter type. Thanks. typedef float Meter; typedef float Feet; Feet ConvertMeter( Meter a ) { return a * 3.2807; } Meter ConvertFeet( Feet a ) { return a / 3.2807; } void TestThis(void) { Feet a = 1.0; Meter b = 1.0; ConvertMeter( a ); ConvertFeet( b ); }

  • Robert Morin Robert Morin posted a comment on ticket #613

    Hi, I have the same issue with French characters with version svn 13394. I am attaching a test file to show the problem and I will try to update the patch according to Petrov. Regards, Robert

  • Robert Morin Robert Morin posted a comment on ticket #1363

    Hi, I can't reproduce the problem anymore in svn 13231. I guess that this ticket can be closed until I can reproduce it. Thanks.

  • Robert Morin Robert Morin posted a comment on ticket #1363

    Hi, something related to the mouse; I'm getting this once in a while and maybe it's linked to this issue: WxWidgets Debug Alert ../../src/common/wincmn.cpp(3426) assert "!wxMouseCapture::stack.empty()" failed in ReleaseMouse(): Releasing mouse capture but capture stack empty?

  • Robert Morin Robert Morin posted a comment on ticket #1363

    Hi, no RPT and I tried also with /v to display more info but nothing important is showing up except that I noticed the verbose trace is not 'flushed' . Here's an example: Conversion succeeded using wxEncodingConverter (buffer size = 37983, converted size = 37987. Editor Open Project data set for xxxxxxx Mozilla universal detection engine detected 'Pure ASCII'. Final encoding detected: Windows Western European (CP 1252) (ID: 33) Conversion succeeded using wxEncodingConverter (buffer size = 39555,...

  • Robert Morin Robert Morin created ticket #1363

    When editing makefile in 2 projects, C::B stalled

  • Robert Morin Robert Morin created ticket #1328

    The 'scriptwizard' plugin should have more details in the description.

  • Robert Morin Robert Morin created ticket #1325

    The 'Files extension handler' plugin should have more details in the description.

  • Robert Morin Robert Morin posted a comment on discussion Help

    Hi darkweb, the problem is a buffer overflow; I'm guessing the read from the serial port has no (or not big enough) time-out in receive. The time-out should be 3.5 characters in between frame. Thanks.

  • Robert Morin Robert Morin posted a comment on discussion Help

    Hi, no luck for serial port. Most of the time it's failing and it's because it's only handling packet (for TCP) not byte.

  • Robert Morin Robert Morin posted a comment on discussion Help

    Hi, the '-install' is failing but I was able to find the rxtx, here is a copy: http://www.jcontrol.org/download/rxtx_en.html After installing on Windows 10, it's looking good. BTW, the latest download file from SourceForge is only containing the help file. Thanks

  • Robert Morin Robert Morin posted a comment on ticket #871

    Hi, any way to close this bug ? It's been fixed since a few months. Thanks

  • Robert Morin Robert Morin posted a comment on discussion Help

    Hi, I'm a first time user and I'm trying to use the serial port. First time ModbuslPal indicated the missing RXTX library; I've found multiple site where the library is available but so far no luck. When I install the library; ModbusPal refuse to start. Can someone point me to the latest version that work in Windows 10 ? Thanks

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    I will give it a try. Thanks

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Hi, cppcheck didn't detect this problem (neither gcc or clang): int f( unsigned char TryThis ) { return TryThis >> 8; } Integer promotion is causing this to be valid but this caused a bug in our system and was not detected until it reached the field. Worth to add a small test for this ?

  • Robert Morin Robert Morin posted a comment on ticket #871

    Hi, the svg images are updated thanks to darmar-It.

  • Robert Morin Robert Morin posted a comment on ticket #871

    Hi, I will open an issue in github; I prefer that also,. Thanks

  • Robert Morin Robert Morin posted a comment on ticket #871

    Hi, I'm giving it a try in black and in red. Better ?

  • Robert Morin Robert Morin created ticket #871

    File missing image is difficult to view

  • Robert Morin Robert Morin created ticket #859

    "Implementation of" is searching in all projects instead of current one

  • Robert Morin Robert Morin posted a comment on ticket #799

    Hi, I forgot to write: "Use Advanced RegEx searches" is enable.

  • Robert Morin Robert Morin created ticket #799

    Using regexp in Find with invalid query is causing a debug alert

  • Robert Morin Robert Morin posted a comment on ticket #591

    Hi, got the same problem when changing the syntax highlighting for markdown (got assert failure 5 times). I cannot reproduce it. Seems related to the number of changes I made in the foreground/background colors. svn 11499 Build Sep 30 2018, 09:22:11 - wx3.1.1 (Windows , unicode) - 64 bit. Win 7 Professional, SP 1, i7-4790, 16 GB of RAM.

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Hi, I got this problem too. I'm guessing cppcheck is considering the exit condition of the for() to be 'idx < MAX_COUNT' in this case the idx will be greater than MAX_COUNT. Since a 'break' was the exit condition, it's a false positive but this also indicate the 'wasFound' is not needed and the code 'int x = some_array[idx]' could be moved inside the for loop before the 'break'. Hope it help

  • Robert Morin Robert Morin posted a comment on ticket #662

    OK working fine now. Thanks.

  • Robert Morin Robert Morin posted a comment on ticket #662

    OK I will give it a try before the week-end. Thanks.

  • Robert Morin Robert Morin created ticket #662

    Filename added to source code when quickly clicking on project file

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Good news. I will give it a try as soon as it's available. Thanks a lot.

  • Robert Morin Robert Morin created ticket #586

    Selecting a variable is no more highlighting occurences

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Hi, I'm using cppcheck with --library=./rules.cfg to prevent warnings (like uninitialized variable) on a function that never return. It was working fine before 1.81 and now it's failing with "(error) Uninitialized variable: x" when encountering that function. Here is my rules.cfg <def format="2"> <function name="AssertFatal"> <noreturn>true</noreturn> </function> </def> Robert

  • Robert Morin Robert Morin created ticket #523

    Crash when going in menu Fortran/Tab2space

  • Robert Morin Robert Morin created ticket #448

    Missing file from project list causing cscope to hang

  • Robert Morin Robert Morin modified a comment on discussion General Discussion

    Hi, same issue here also. It's taking forever to analyzer my project. Win7 64-bi...

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Hi, same issue here also. It's taking forever to analyzer my project.

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Problem confirmed, VS 2015 Redist. was missing. Can be installed from M$ here: h...

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    If it helps, I noticed cppcheck is now installed in "c:\Program Files" instead of...

  • Robert Morin Robert Morin posted a comment on discussion General Discussion

    Same issue here also in Win7/64-bit.

1