Hi,
You found a bit of code I wrote before I knew there where file name
manipulation routines in Emacs. I re-wrote them to not use regexps
anymore, and checked that in.
You should be good to go.
Eric
>>> Nathan Huesken <cedet@...> seems to think that:
>Hi,
>
>Is there is no error when loading the file.
>I am opening:
>/home/ls/ClanLib-0.8.0/Examples/NS_MenuMenager.cpp
>Its all ascii, or not?
>Below is the error output.
>
>Thanks!
>Nathan
>
>Debugger entered--Lisp error: (invalid-slot-type project-am-makefile name string nil)
> signal(invalid-slot-type (project-am-makefile name string nil))
> eieio-validate-slot-value(project-am-makefile 4 nil name)
> eieio-oset([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] name nil)
> eieio-default-superclass([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am"))
> apply(eieio-default-superclass ([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am")))
> eieio-generic-call(shared-initialize ([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am")))
> shared-initialize([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am"))
> eieio-default-superclass([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am"))
> apply(eieio-default-superclass ([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am")))
> eieio-generic-call(initialize-instance ([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am")))
> initialize-instance([object project-am-makefile nil nil "Untitled" "1.0" unbound nil nil nil unbound "" "" "" "" "" ("debug" "release") "debug" nil] (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am"))
> eieio-default-superclass(project-am-makefile nil :name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am")
> apply(eieio-default-superclass (project-am-makefile nil :name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am"))
> eieio-generic-call(constructor (project-am-makefile nil :name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am"))
> constructor(project-am-makefile nil :name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am")
> apply(constructor project-am-makefile nil (:name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am"))
> project-am-makefile(nil :name nil :file "/home/ls/ClanLib-0.8.0/Makefile.am")
> project-am-load-makefile("/home/ls/ClanLib-0.8.0/")
> project-am-load("/home/ls/ClanLib-0.8.0/")
> ede-load-project-file("/home/ls/ClanLib-0.8.0/")
> ede-load-project-file("/home/ls/ClanLib-0.8.0/Examples/GUIStyle/MenuSystem/")
> ede-current-project("/home/ls/ClanLib-0.8.0/Examples/GUIStyle/MenuSystem/")
> semanticdb-find-table-for-include-default(("iostream" include (:system-flag t) nil #<overlay from 307 to 326 in NS_MenuManager.cpp>) [object semanticdb-table "NS_MenuManager.cpp" [object semanticdb-project-database-file "MenuSystem/" "/home/ls/ClanLib-0.8.0/Examples/GUIStyle/MenuSystem/" semanticdb-table (#0 [object semanticdb-table "NS_MenuManager.h" #1 c-mode ... unbound nil "NS_MenuManager.h" t nil 1604 ... ...] [object semanticdb-table "NS_MenuGeneric.h" #1 c-mode ... unbound nil "NS_MenuGeneric.h" t nil 1757 ... ...] [object semanticdb-table "NS_Menu_Main.h" #1 c-mode ... unbound nil "NS_Menu_Main.h" t nil 991 ... ...] [object semanticdb-table "NS_Menu_Credits.h" #1 c-mode ... unbound nil "NS_Menu_Credits.h" t nil 942 ... ...] [object semanticdb-table "NS_Menu_Play.h" #1 c-mode ... unbound nil "NS_Menu_Play.h" t nil 1318 ... ...] [object semanticdb-table "NS_Menu_Game.h" #1 c-mode ... unbound nil "NS_Menu_Game.h" t nil 987 ... ...]) "/home/ls/.semanticdb/!home!ls!Cla!
nL
> ib-0.8.0!Examples!GUIStyle!MenuSystem!semantic.cache" "2.0pre5" "2.0pre5"] c++-mode (("NS_MenuManagenuManager.cpp>) ("NS_Menu_Main.h" include nil nil #<overlay from 199 to 224 in NS_MenuMan
>
>On Tue, Apr 29, 2008 at 07:51:12AM -0400, Eric M. Ludlam wrote:
>> >>> Nathan Huesken <cedet@...> seems to think that:
>> >Hi,
>> >
>> >I have some trouble again. I am currently browsing though the ClanLib
>> >source, and edited something. But cedet did not work,
>> >semantic-complete-analyze-inline gave me:
>> >
>> >File mode specification error: (void-function semantic-c-mode-hook)
>> >eieio-validate-slot-value: Invalid slot type: project-am-makefile, name, string, nil
>> >idle error: "#<buffer input_device_sdljoystick.cpp> - Invalid slot type: project-am-makefile, name, string, nil"
>> [ ... ]
>>
>> Hi,
>>
>> Huh. Clearly clanlib is using Automake for it's build harness. The
>> name of the project, or of some sub-project, appears to be unbound.
>> I'm not sure how this can happen. Are there any earlier errors in
>> your *Message* buffer like this when opening your first file in that
>> project?
>>
>> Doing this:
>>
>> M-x toggle-debug-on-error RET
>>
>> before loading in your first file would provide a nice stack.
>>
>> Do any directories in clanlib contain spaces or non-ascii chars?
>>
>> Eric
>>
>> --
>> Eric Ludlam: eric@...
>> Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>Don't miss this year's exciting event. There's still time to save $100.
>Use priority code J8TL2D2.
>http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>_______________________________________________
>cedet-semantic mailing list
>cedet-semantic@...
>https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>
--
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net
|