On 06.02.2017 15:47, Ghannouchi, Youssef wrote: There is nothing to debug :)
NULL (nullptr) is 64 bit on 64 bit system and could not be used as 32 bit integer. It is bug in sources :) > Fabian, > > Can you please help Lev to debug this issue? > > Regards, > Youssef > > > Texas Instruments Deutschland GmbH, Haggertystr. 1, D-85356 Freising. > Amtsgericht München HRB 40960. Geschäftsführer: Andreas Schwaiger. > Vorsitzender des Aufsichtsrates: Dr. Klaus Weisel > > -----Original Message----- > From: Lev Serebryakov [mailto:l...@serebryakov.spb.ru] > Sent: Monday, February 06, 2017 1:13 PM > To: Ghannouchi, Youssef; 'GCC for MSP430 - http://mspgcc.sf.net' > Cc: Miller, Greg > Subject: Re: [Mspgcc-users] New MSP430-GCC releases available > > On 06.02.2017 14:29, Ghannouchi, Youssef wrote: > > Nope, it still here (in slac460s.zip). It is easily patcheable and don't > prevent me from creating a package, but it is still > > DLL430_v3/src/DLL430_OldApiV3.cpp:1011 > ... > cm->reset(false, true, 0, NULL); > ... > >> Hi Lev, >> >> According to the developers, the open source package v3.9.1.2 should fix the >> below issue. >> http://www.ti.com/tool/mspds >> Please let me know if you still see any problem. >> >> Regards, >> Youssef >> >> >> Texas Instruments Deutschland GmbH, Haggertystr. 1, D-85356 Freising. >> Amtsgericht München HRB 40960. Geschäftsführer: Andreas Schwaiger. >> Vorsitzender des Aufsichtsrates: Dr. Klaus Weisel >> >> -----Original Message----- >> From: Ghannouchi, Youssef >> Sent: Monday, November 28, 2016 10:36 AM >> To: 'Lev Serebryakov'; 'GCC for MSP430 - http://mspgcc.sf.net' >> Cc: Miller, Greg >> Subject: RE: [Mspgcc-users] New MSP430-GCC releases available >> >> Thank you Lev for the feedbacks! I forwarded them to the developers team. >> >> -----Original Message----- >> From: Lev Serebryakov [mailto:l...@serebryakov.spb.ru] >> Sent: Monday, November 21, 2016 4:05 PM >> To: Ghannouchi, Youssef; 'GCC for MSP430 - http://mspgcc.sf.net' >> Cc: Miller, Greg >> Subject: Re: [Mspgcc-users] New MSP430-GCC releases available >> >> 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 >> > > > -- > // Black Lion AKA Lev Serebryakov > > -- // Black Lion AKA Lev Serebryakov
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users