Skip to main content

Timeline for a problem with declaring root

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Sep 13, 2015 at 21:31 comment added Irene You're also defining your root in the .h file (i hadn't noticed that before. Sorry about that). You shouldn't do that. So, please remove the assignment of your root variable to NULL inside the header file. The linker sees the two definitions, and which one should it use?
Sep 13, 2015 at 19:10 comment added kawegan even if i define root in the load function.i get the same error. i edited the question and posted dictionary.c. i didn't define root again in dictionary.c.that's really weird
Sep 13, 2015 at 18:53 history answered Irene CC BY-SA 3.0