|
Re: [CEDET-devel] Bug when there are multiple targets
From: Eric M. Ludlam <eric@si...> - 2009-12-19 04:22
|
Thanks. This made it obvious what is going on. I have checked in a
change to Semantic to deal with this case.
The solution is a bit simplistic, in that it just chooses the first
target. It may not always be correct, but it should at least do
something useful.
Eric
Kiwon Um wrote:
> "Eric M. Ludlam" <eric@...> writes:
>
>> Hi,
>>
>> If you run:
>>
>> M-x toggle-debug-on-error RET
>>
>> then it should provide more information about what is going in with a
>> backtrace buffer. That will be helpful to figure out what is going
>> on.
>
> Hi,
>
> I post the debugger's error message:
>
> Debugger entered--Lisp error: (error "Primary-only method ede-system-include-path called on something not an object")
> signal(error ("Primary-only method ede-system-include-path called on something not an object"))
> error("Primary-only method %s called on something not an object" ede-system-include-path)
> eieio-generic-call-primary-only(ede-system-include-path (([object ede-proj-target-makefile-program "test" t "test" "" ... nil ... nil nil nil "Makefile" t nil nil ... nil] [object ede-proj-target-makefile-program "ball" t "ball" "" ... nil ... nil nil nil "Makefile" t nil nil ... nil])))
> ede-system-include-path(([object ede-proj-target-makefile-program "test" t "test" "" ("test.cpp" "fem_test.cpp" "tetrahedron_test.cpp" "Matrix.cpp" "matrix_test.cpp" "fem_utils.cpp") nil ("fem.hpp" "Matrix.hpp" "TetrahedralMesh.hpp" "Tetrahedron.hpp" "Vector3D.hpp" "fem_utils.hpp") nil nil nil "Makefile" t nil nil ("boost_unit_test_framework") nil] [object ede-proj-target-makefile-program "ball" t "ball" "" ("fem.cpp" "Matrix.cpp" "fem_utils.cpp") nil ("Vector2D.hpp" "Vector3D.hpp" "blas_wrapper.h" "pcg_solver.h" "sparse_matrix.h" "util.h" "Tetrahedron.hpp" "TetrahedralMesh.hpp" "Matrix.hpp" "fem.hpp" "fem_utils.hpp") nil nil nil "Makefile" t nil nil ("gsl" "gslcblas" "m") nil]))
> semantic-dependency-find-file-on-path("vector" t)
> semantic-dependency-tag-file(("vector" include (:system-flag t) nil #<overlay from 591 to 608 in TetrahedralMesh.hpp>))
> semantic-decoration-on-includes-highlight-default(("vector" include (:system-flag t) nil #<overlay from 591 to 608 in TetrahedralMesh.hpp>))
> semantic-decoration-on-includes-highlight(("vector" include (:system-flag t) nil #<overlay from 591 to 608 in TetrahedralMesh.hpp>))
> semantic-decorate-add-decorations((("_TETRAHEDRALMESH_HPP_" variable (:constant-flag t) nil #<overlay from 568 to 589 in TetrahedralMesh.hpp>) ("vector" include (:system-flag t) nil #<overlay from 591 to 608 in TetrahedralMesh.hpp>) ("Vector3D.hpp" include nil nil #<overlay from 609 to 632 in TetrahedralMesh.hpp>) ("Tetrahedron.hpp" include nil nil #<overlay from 633 to 659 in TetrahedralMesh.hpp>) ("sparse_matrix.h" include nil nil #<overlay from 660 to 686 in TetrahedralMesh.hpp>) ("calLameConstL" function (:typemodifiers ... :arguments ... :type "double") nil #<overlay from 698 to 807 in TetrahedralMesh.hpp>) ("calLameConstM" function (:typemodifiers ... :arguments ... :type "double") nil #<overlay from 815 to 946 in TetrahedralMesh.hpp>) ("TetrahedralMesh" type (:members ... :type "class") nil #<overlay from 948 to 2989 in TetrahedralMesh.hpp>)))
> semantic-decorate-tags-after-full-reparse((("_TETRAHEDRALMESH_HPP_" variable (:constant-flag t) nil #<overlay from 568 to 589 in TetrahedralMesh.hpp>) ("vector" include (:system-flag t) nil #<overlay from 591 to 608 in TetrahedralMesh.hpp>) ("Vector3D.hpp" include nil nil #<overlay from 609 to 632 in TetrahedralMesh.hpp>) ("Tetrahedron.hpp" include nil nil #<overlay from 633 to 659 in TetrahedralMesh.hpp>) ("sparse_matrix.h" include nil nil #<overlay from 660 to 686 in TetrahedralMesh.hpp>) ("calLameConstL" function (:typemodifiers ... :arguments ... :type "double") nil #<overlay from 698 to 807 in TetrahedralMesh.hpp>) ("calLameConstM" function (:typemodifiers ... :arguments ... :type "double") nil #<overlay from 815 to 946 in TetrahedralMesh.hpp>) ("TetrahedralMesh" type (:members ... :type "class") nil #<overlay from 948 to 2989 in TetrahedralMesh.hpp>)))
> run-hook-with-args(semantic-decorate-tags-after-full-reparse (("_TETRAHEDRALMESH_HPP_" variable (:constant-flag t) nil #<overlay from 568 to 589 in TetrahedralMesh.hpp>) ("vector" include (:system-flag t) nil #<overlay from 591 to 608 in TetrahedralMesh.hpp>) ("Vector3D.hpp" include nil nil #<overlay from 609 to 632 in TetrahedralMesh.hpp>) ("Tetrahedron.hpp" include nil nil #<overlay from 633 to 659 in TetrahedralMesh.hpp>) ("sparse_matrix.h" include nil nil #<overlay from 660 to 686 in TetrahedralMesh.hpp>) ("calLameConstL" function (:typemodifiers ... :arguments ... :type "double") nil #<overlay from 698 to 807 in TetrahedralMesh.hpp>) ("calLameConstM" function (:typemodifiers ... :arguments ... :type "double") nil #<overlay from 815 to 946 in TetrahedralMesh.hpp>) ("TetrahedralMesh" type (:members ... :type "class") nil #<overlay from 948 to 2989 in TetrahedralMesh.hpp>)))
> semantic--set-buffer-cache((("_TETRAHEDRALMESH_HPP_" variable (:constant-flag t) nil #<overlay from 568 to 589 in TetrahedralMesh.hpp>) ("vector" include (:system-flag t) nil #<overlay from 591 to 608 in TetrahedralMesh.hpp>) ("Vector3D.hpp" include nil nil #<overlay from 609 to 632 in TetrahedralMesh.hpp>) ("Tetrahedron.hpp" include nil nil #<overlay from 633 to 659 in TetrahedralMesh.hpp>) ("sparse_matrix.h" include nil nil #<overlay from 660 to 686 in TetrahedralMesh.hpp>) ("calLameConstL" function (:typemodifiers ... :arguments ... :type "double") nil #<overlay from 698 to 807 in TetrahedralMesh.hpp>) ("calLameConstM" function (:typemodifiers ... :arguments ... :type "double") nil #<overlay from 815 to 946 in TetrahedralMesh.hpp>) ("TetrahedralMesh" type (:members ... :type "class") nil #<overlay from 948 to 2989 in TetrahedralMesh.hpp>)))
> semantic-fetch-tags()
> byte-code("ŠŠ. ˆ*.‡" [semantic-fetch-tags nil] 1)
> semantic-refresh-tags-safe()
> semantic-analyze-current-context(2885)
> semantic-ia-fast-jump(2885)
> call-interactively(semantic-ia-fast-jump nil nil)
>
> --
> Kiwon Um
>
>
> ------------------------------------------------------------------------
>
> *nnml:mail.emacs
> 2: nnml:mail.misc
> [ misc -- 1 ]
> 1: nndraft:drafts
|
| Thread | Author | Date | |
|---|---|---|---|
| [CEDET-devel] Bug when there are multiple targets | Kiwon Um <um.kiwon@gm...> |
|
|
|
|
|
|
|