Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Compiler errors in latest master

Here is the procedure I used to get rid of these errors. Suggestions for a simpler procedure are welcome.

1. Select cdt_e4.6 target platform acl click Edit
2. Select Eclipse SDK under 4.6milestones, click Reload
3. Click Finish
4. Check the check box next to cdt_e4.5, click Apply
5. Check the check box next to cdt_e4.6, click OK

-sergey


On Tue, Dec 15, 2015 at 4:38 PM, 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


Back to the top