Re: New MSP430-GCC releases available

Lev Serebryakov <[email protected]> Mon, 6 Feb 2017 16:02:42 +0300
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============1840639266433065229==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature";
	boundary="BFglDBClgkLfAcCqJJiJvRSU0lmm06xDo"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BFglDBClgkLfAcCqJJiJvRSU0lmm06xDo
Content-Type: multipart/mixed; boundary="nF9ofjIEThexGELwGaRWXhmvoJ4ao2L3V";
	protected-headers="v1"
From: Lev Serebryakov <[email protected]>
To: "Ghannouchi, Youssef" <[email protected]>,
	"'GCC for MSP430 - http://mspgcc.sf.net'"
	<[email protected]>, "Fischer, Fabian" <[email protected]>
Cc: "Miller, Greg" <[email protected]>
Message-ID: <[email protected]>
Subject: Re: [Mspgcc-users] New MSP430-GCC releases available
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
In-Reply-To: <[email protected]>

--nF9ofjIEThexGELwGaRWXhmvoJ4ao2L3V
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

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,
>=20
> Can you please help Lev to debug this issue?
>=20
> Regards,
> Youssef
>=20
>=20
> Texas Instruments Deutschland GmbH, Haggertystr. 1, D-85356 Freising. A=
mtsgericht M=C3=BCnchen HRB 40960. Gesch=C3=A4ftsf=C3=BChrer: Andreas Sch=
waiger. Vorsitzender des Aufsichtsrates: Dr. Klaus Weisel
>=20
> -----Original Message-----
> From: Lev Serebryakov [mailto:[email protected]]
> 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
>=20
> On 06.02.2017 14:29, Ghannouchi, Youssef wrote:
>=20
>  Nope, it still here (in slac460s.zip). It is easily patcheable and don=
't prevent me from creating a package, but it is still
>=20
> DLL430_v3/src/DLL430_OldApiV3.cpp:1011
>   ...
>   cm->reset(false, true, 0, NULL);
>   ...
>=20
>> Hi Lev,
>>
>> According to the developers, the open source package v3.9.1.2 should f=
ix 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=C3=BCnchen HRB 40960. Gesch=C3=A4ftsf=C3=BChrer: 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 te=
am.
>>
>> -----Original Message-----
>> From: Lev Serebryakov [mailto:[email protected]]
>> 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 =E2=80=94 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=3Dc++0x -fvisibility=3Dhidd=
en
>> -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 en=
coding in string literal [-Winvalid-source-encoding] const char* const er=
rorStrings[] =3D { 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 'ER=
ROR_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 p=
arameter 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/sr=
c/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) =3D 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 =3D=3D bpAccess || BP_FETCH_HOLD =3D=3D 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 =3D=3D bpAccess || BP_FETCH_HOLD =3D=3D bpAccess)=

>>                                     ~~~~~~~~~~~~~ ^  ~~~~~~~~
>> 4 warnings and 1 error generated.
>>
>>
>> --
>> // Black Lion AKA Lev Serebryakov
>>
>=20
>=20
> --
> // Black Lion AKA Lev Serebryakov
>=20
>=20


--=20
// Black Lion AKA Lev Serebryakov


--nF9ofjIEThexGELwGaRWXhmvoJ4ao2L3V--

--BFglDBClgkLfAcCqJJiJvRSU0lmm06xDo
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJYmHPyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePs1sP/0zPTIgGmNZ/72xiBqmMV9K7
Jax5+w2onzpfX4ByRhsHv6ecScMLe+LyPI/un5T652zGqyodRCcUfoY3LwO7yjyW
oqLr9X1R2sx5KdZsxR3aCaZtmT0BucGqPWiEZMgtug2icMwsDg9YarDmud2hc0Yj
wM+HcaxerQi4pFSRM/QJkDrt6RVxtNuB24h/qmw0/qXyx0BvQCOl/AhIZTf6RKMG
zgrQKxHTg2xKo1MTuaQDhgU7yzbPrTQNK9D0m9ZYInY0TGSCpmhZt9Q7wH7uJX4q
7BBjtI56bXWiv9JN3B9F38+KG9pv2Xwuyd2ALtV5SIqildse3nIX3bmQ0CaU2rJ2
J4hv7gdcbavmmydFkm9MCFvAwcxsGiaFF+9r8aFF0WpuyvzQBU37zr9QlFwCL9oN
BLR5d/Dy9RKi/c3YcbBAZBhbHHXefAKQPABdkjLHwy5dLWkhdKF5mhDZB1hs14+T
hoHIfDXwyqKJdWI6dA995hBxU2i0Hw7wfSATMjk+mliLVCdCcRZfgjOMfAa+0UMH
UL0kvDTDDYSP0Wjjj4mtyRZ6XTigkWsBS/NSVKLNN107zaOEENC9RESt89ehY9tX
F30cydhKjEuTXWurrxuiFJH/kpW/dNxxLqAa5WDtvoMCmh2kttr2OfxebFN54hyh
tkBRaJjP4aVMa59g2yhe
=qe2F
-----END PGP SIGNATURE-----

--BFglDBClgkLfAcCqJJiJvRSU0lmm06xDo--


--===============1840639266433065229==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============1840639266433065229==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

--===============1840639266433065229==--