On 21.11.2016 10:24, Ghannouchi, Youssef wrote:
> This is typo on the web page. The download link will point you to the open 
> source package v3.8.1.0
> I will get that fixed.
 Thank you again!
 BTW, this package contains error (when compiled with clang++ 3.4.1 or
newer), on 64-bit system — NULL can not be used as uint32_t (and there
are some warnings, too):

c++ -c -o DLL430_v3/src/DLL430_OldApiV3.o
DLL430_v3/src/DLL430_OldApiV3.cpp -include
./DLL430_v3/src/TI/DLL430/pch.h -fPIC -std=c++0x -fvisibility=hidden
-fvisibility-inlines-hidden -Os -I./DLL430_v3/src/TI/DLL430
-I./DLL430_v3/include -I./DLL430_v3/src/TI/DLL430/EnergyTrace_TSPA
-I./Bios/include -I./ThirdParty/include -I./ThirdParty/BSL430_DLL
-I/usr/local/include -I/usr/local/include/hidapi -DUNIX -DNDEBUG
DLL430_v3/src/DLL430_OldApiV3.cpp:81:38: warning: illegal character
encoding in string literal [-Winvalid-source-encoding]
const char* const errorStrings[] = { ERROR_DEFINITIONS };
                                     ^
/usr/home/lev/FreeBSD/ports/devel/msp430-debug-stack/work/./DLL430_v3/include/MSP430.h:514:79:
note: expanded from macro 'ERROR_DEFINITIONS'
        ERROR_DEF(WRONG_TARGET_ARCHITECTURE, "Wrong target architecture
was selected <96> Valid architectures are MSP430 or MSP432_M4.") \

            ^~~~
DLL430_v3/src/DLL430_OldApiV3.cpp:80:43: note: expanded from macro
'ERROR_DEF'
#define ERROR_DEF(errorEnum, errorString) errorString,
                                          ^
DLL430_v3/src/DLL430_OldApiV3.cpp:607:11: warning: enumeration values
'UNDEF_IF' and 'SPYBIWIRE_DCDC' not handled in switch [-Wswitch]
                switch (type)
                        ^
DLL430_v3/src/DLL430_OldApiV3.cpp:961:32: error: cannot initialize a
parameter of type 'uint32_t' (aka 'unsigned int') with an rvalue of type
'nullptr_t'
                                        cm->reset(false, true, 0, NULL);
                                                                  ^~~~
/usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^~~~~~~
/usr/home/lev/FreeBSD/ports/devel/msp430-debug-stack/work/DLL430_v3/src/TI/DLL430/IConfigManager.h:150:69:
note: passing argument to parameter 'rstHalId' here
                        virtual bool reset(bool vcc, bool nmi, uint16_t
JtagId, uint32_t rstHalId) = 0;

                ^
DLL430_v3/src/DLL430_OldApiV3.cpp:2295:15: warning: comparison of two
values with different enumeration types ('BpAccess' and
'TI::DLL430::AccessType') [-Wenum-compare]
        if (BP_FETCH == bpAccess || BP_FETCH_HOLD == bpAccess)
            ~~~~~~~~ ^  ~~~~~~~~
DLL430_v3/src/DLL430_OldApiV3.cpp:2295:44: warning: comparison of two
values with different enumeration types ('BpAccess' and
'TI::DLL430::AccessType') [-Wenum-compare]
        if (BP_FETCH == bpAccess || BP_FETCH_HOLD == bpAccess)
                                    ~~~~~~~~~~~~~ ^  ~~~~~~~~
4 warnings and 1 error generated.


-- 
// Black Lion AKA Lev Serebryakov

------------------------------------------------------------------------------
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to