Jump to content

Pavel

Administrators
  • Posts

    1,471
  • Joined

  • Last visited

Posts posted by Pavel

  1. I looked at your fix and unless I missed something it should change the current program flow.

    The current code structure looks like this:

    ...
    if( something )
    {
        do something   
        return
    }
    do something else
    return


    With your change the code will look like:

    ...
    if( something )
    {
        do something   
        return
    }
    else
    {
        do something else
        return
    }


    I fail to see how your fix affect the program flow unless there is another problem somewhere else. Can you comment.

    Regards,
    Pavel

  2. It looks that ide hasn't registered properly during 7.x installation. Try to register ide using preg (make sure you are logged in as admin, start preg, select SourceBoost IDE and press OK, than enter license details into the appearing 'Enter Key' dialog) and the key below:

    name: Default Lite Key
    key: 0D7D-A279-549A-DD9B-6CB0-1709-E31A-1276-C085-7220-5A41

     

     

    Before entering the license key please make sure you are logged in as administrator.

     

    Regards,
    Pavel

  3. It looks that ide hasn't registered properly during 7.x installation. Try to register ide using preg (make sure you are logged in as admin, start preg, select SourceBoost IDE and press OK, than enter license details into the appearing 'Enter Key' dialog) and the key below:

    name: Default Lite Key
    key: 0D7D-A279-549A-DD9B-6CB0-1709-E31A-1276-C085-7220-5A41

    Regards,
    Pavel

  4.  

    ...it seems BoostC makes no difference on right shifting of a signed or an unsigned char...

     

     

     

    BoostC does retain sign in signed shifts. In your test code though you use 'char' and 'unsigned char' which are same types. You need to replace 'char' with 'signed char'.

     

    Regards,

    Pavel

  5. A new SourceBoost release candidate V7.20RC3 is available to download from http://www.sourceboost.com/CommonDownload.html This release fixes all knows serious issues reported earlier. Please give it a try.

     

    What's new:

     

    1. fixed ide crash at startup (happens when last project that is being opened at startup contains TODO or FIXME in its sources)
    2. fixed incomplete code generation for pointers increment and decrement when large memory model is used

    3. fixed binary or problem with 8 and 16 bit long constants
    4. user selection for "enable build server" setup setting is remembered between installations

     

     

    Regards,

    Pavel

     

     

  6. I need the confidence that I can write any legitimate C statement and the correct result will be supplied.

    The reason compiler operates only on the low byte of a pointer in increment/decrement operations is based on the optimiser knowledge about the compiler limitation that an object (increment/decrement is used only on elements of an objects such as an array or a string) must live in one memory bank and will never cross memory bank boundaries. When this is true the high pointer byte does not need to be changed. However this stopped to be the case when long index feature for PIC18 was introduced and we missed its impact on pointer increment/decrement code. Hopefully this makes sence (let us know if we missed something)

     

    Summary: compiler generates wrong code when pointer is incremented or decremented but only for PIC18 targets and only when long index compiler command line argument is used (-idx 2)

     

    Fortunately this is very easy to fix and fix will be available in the next release (or patch).

     

    Regards,

    Pavel

  7. But.. it still points to the "old linker name". (ok, it's only the message, after the message and clicking OK, the linker does work.)

    How can this be chanched, it would be nice that you can point MplabX to the right linker location for sourceboost, like you can set the locations of the xc8 compiler and linker.

    Or that the .nmb file uses the right linker location.

    I think this comes from your previous NMB file. When I try the new NMB on a fresh MplabX installation on a computer that has never MplabX installed before it picks the correct linker.

     

    A fix will be to either point MplabX to the 'correct' linker file or copy the 'correct' linker file to a file with the name that MplabX uses.

     

    Regards,

    Pavel

  8. Please try updated MplabX toolchain file http://www.sourceboost.com/CommonDownload/Fixes/com-sourceboost-toolchain.nbm Uninstall and remove the old SourceBoost toolchain file from MplabX first and than download the updated toolchain into your SourceBoost 7.11 installation directory and follow the instructions from MplabX Integration document. This file was tested with MplabX 1.70 and seems to work fine. It will be included into the coming SourceBoost 7.12 release.

     

    Regards,

    Pavel

  9. Use of boostbuild server will not make compilation of a project parallel. The server was designed to be able to compile multiple project in parallel but not multiple files from the same project. (In other words multiple users can use the server simultaneously). If you want to use parallel compilation for files from the same project you need to enable parallel build in the ide (and this does not do anything with boostbuild server). This will control the make command line issued by the ide to include the -j command line options and this command line option will let make to compile multiple source files in parallel (note that only the 'build' command from the ide will use make, if you just press 'compile' no make will be used and as result there will be no parallel compilation).

     

    Regards,

    Pavel

  10. If you want to keep using the old linker name try the updated dummy linker from http://www.sourceboost.com/CommonDownload/Fixes/dummy_linker.zip This dummy linker will display the same warning as the one included into the SourceBoost installation but it will also start the correct linker. To install download and unzip it into your SourceBoost installation directory.

     

    Regards,

    Pavel

×
×
  • Create New...