[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] PTP 4.0.7 build errors
|
On 05/15/2011 12:54 PM, Beth Tibbitts wrote:
The PTP 4.0.7 bug fix release, including Photran 6.0.7, is now available. This
is based on Eclipse 3.6 (Helios)
I get the following errors trying to build on Fedora Rawhide:
@dot:
[mkdir] Created dir:
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/@dot
[javac] Compiling 476 source files to
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/@dot
[javac] ----------
[javac] 1. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/core/event/PDebugBreakpointInfo.java
(at line 32)
[javac] this(info, bpid, Collections.EMPTY_MAP);
[javac] ^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type Map needs unchecked
conversion to conform to Map<String,?>
[javac] ----------
[javac] ----------
[javac] 2. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/core/sourcelookup/AbsolutePathSourceContainer.java
(at line 111)
[javac] final IPath path = Path.fromOSString(file.getCanonicalPath());
[javac] ^^^^
[javac] The value of the local variable path is not used
[javac] ----------
[javac] ----------
[javac] 3. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/PBreakpointManager.java
(at line 821)
[javac] private IProject getProject() {
[javac] ^^^^^^^^^^^^
[javac] The method getProject() from the type PBreakpointManager is never
used locally
[javac] ----------
[javac] ----------
[javac] 4. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/PMemoryManager.java
(at line 475)
[javac] public Object getAdapter(Class adapter) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] ----------
[javac] 5. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/PRegisterManager.java
(at line 439)
[javac] public Object getAdapter(Class adapter) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] ----------
[javac] 6. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/PSignalManager.java
(at line 95)
[javac] public IPDebugTarget getDebugTarget() {
[javac] ^^^^^^^^^^^^^^^^
[javac] The method getDebugTarget() from the type
PSignalManager.PSignalSet is never used locally
[javac] ----------
[javac] 7. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/PSignalManager.java
(at line 170)
[javac] public Object getAdapter(Class adapter) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] ----------
[javac] 8. ERROR in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/breakpoint/PBreakpoint.java
(at line 71)
[javac] ensureMarker().setAttributes(attributes);
[javac] ^^^^^^^^^^^^^
[javac] The method setAttributes(Map<String,? extends Object>) in the
type IMarker is not applicable for the arguments (Map<capture#5-of
?,capture#6-of ?>)
[javac] ----------
[javac] 9. ERROR in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/breakpoint/PBreakpoint.java
(at line 95)
[javac] ensureMarker().setAttributes(attributes);
[javac] ^^^^^^^^^^^^^
[javac] The method setAttributes(Map<String,? extends Object>) in the
type IMarker is not applicable for the arguments (Map<capture#7-of
?,capture#8-of ?>)
[javac] ----------
[javac] ----------
[javac] 10. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PDebugElement.java
(at line 203)
[javac] public Object getAdapter(Class adapter) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] ----------
[javac] 11. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PDebugTarget.java
(at line 293)
[javac] public Object getAdapter(Class adapter) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] ----------
[javac] 12. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PDummyStackFrame.java
(at line 84)
[javac] public Object getAdapter(Class adapter) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] ----------
[javac] 13. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PStackFrame.java
(at line 334)
[javac] public Object getAdapter(Class adapter) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] 14. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PStackFrame.java
(at line 1009)
[javac] return Collections.EMPTY_LIST;
[javac] ^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type List needs unchecked
conversion to conform to List<IPVariable>
[javac] ----------
[javac] 15. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PStackFrame.java
(at line 1027)
[javac] return (fVariables != null) ? fVariables : Collections.EMPTY_LIST;
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type List needs unchecked
conversion to conform to List<IPVariable>
[javac] ----------
[javac] ----------
[javac] 16. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PThread.java
(at line 169)
[javac] public Object getAdapter(Class adapter) {
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] 17. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PThread.java
(at line 237)
[javac] List<IStackFrame> list = Collections.EMPTY_LIST;
[javac] ^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type List needs unchecked
conversion to conform to List<IStackFrame>
[javac] ----------
[javac] ----------
[javac] 18. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/model/PValue.java
(at line 363)
[javac] return Collections.EMPTY_LIST;
[javac] ^^^^^^^^^^^^^^^^^^^^^^
[javac] Type safety: The expression of type List needs unchecked
conversion to conform to List<IVariable>
[javac] ----------
[javac] ----------
[javac] 19. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/sourcelookup/PSourceLocator.java
(at line 95)
[javac] @SuppressWarnings("rawtypes")
[javac] ^^^^^^^^^^
[javac] Unnecessary @SuppressWarnings("rawtypes")
[javac] ----------
[javac] 20. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/sourcelookup/PSourceLocator.java
(at line 582)
[javac] @SuppressWarnings("rawtypes")
[javac] ^^^^^^^^^^
[javac] Unnecessary @SuppressWarnings("rawtypes")
[javac] ----------
[javac] ----------
[javac] 21. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/src/org/eclipse/ptp/debug/internal/core/sourcelookup/SourceUtils.java
(at line 139)
[javac] Class clazz = null;
[javac] ^^^^^
[javac] Class is a raw type. References to generic type Class<T> should
be parameterized
[javac] ----------
[javac] ----------
[javac] 22. WARNING in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/pdi/org/eclipse/ptp/debug/internal/core/pdi/manager/BreakpointManager.java
(at line 58)
[javac] private final int EXCEPTION_CATCH_IDX = 1;
[javac] ^^^^^^^^^^^^^^^^^^^
[javac] The value of the field BreakpointManager.EXCEPTION_CATCH_IDX is
not used
[javac] ----------
[javac] 22 problems (2 errors, 20 warnings)
[javac] Compilation failed. Compiler errors are available in
/builddir/build/BUILD/org.eclipse.ptp-v201104291906/debug/org.eclipse.ptp.debug.core/@dot.log
Any ideas?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxxxxxxx
Boulder, CO 80301 http://www.cora.nwra.com