[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Compiler errors in latest master
|
I think your target platform is out of date.
fIndentChars has been generified recently
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=478673):
http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=96da92a20589d62dad534245c5d9c4d45618ee95
Jonah
~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com
On 16 December 2015 at 00:38, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:
> I'm seeing some compiler errors in latest master.
>
> Seems to have been introduced by the following commit:
>
> =======================
> commit 8a834d59702025a3d1f44f379977b80068189213
> Author: Alexander Kurtakov <akurtako@xxxxxxxxxx>
> Date: Mon Dec 14 11:06:00 2015 +0200
>
> Cleanups.
>
> Remove useless:
> * casts.
> * suppress warnings unchecked.
> * @see comments
>
> Change-Id: I4713e9ddf90195cf1e465b3743f5f0bc7e41d338
> Signed-off-by: Alexander Kurtakov <akurtako@xxxxxxxxxx>
> =======================
>
> For example, CSourceViewer.java line 188: Type mismatch: cannot convert from Object to String[]
>
> The line is:
>
> String[] defaultIndentPrefixes= fIndentChars.get(IDocument.DEFAULT_CONTENT_TYPE);
>
> As far as I can tell, fIndentChars has type Map, whose get() function returns Object.
>
> Is there something I'm missing?
>
> Thanks,
> Nate
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev