git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Semantic errors

From
FAFabio Aiuto <polinice83@libero.it>
Date
Mar 21, 2019, 19:06 UTC
Message-ID
<1553195171.1436.1.camel@libero.it>

Hello to all, I'm browsins git code with Eclipse. I'm on a local branch called "studio" based on master (last public commit e902e9b by Junio C Hamano on Monday March 11 2019). I've built everything by changing: CFLAGS = -g -Wall (removing -O2 to have smooth trace in debugging). But the environment detects the following semantic errors (I made no edits!!!): Description Resource Path Location Type Symbol 'GIT_HTML_PATH' could not be resolved git.c /git line 154 Semantic Error Symbol 'GIT_MAN_PATH' could not be resolved git.c /git line 158 Semantic Error Symbol 'GIT_INFO_PATH' could not be resolved git.c /git line 162 Semantic Error Symbol 'active_cache' could not be resolved commit.c /git /builtin line 899 Semantic Error Field 'ce_intent_to_add(active_cache[i])' could not be resolved commit.c /git/builtin line 899 Semantic Error Symbol 'active_nr' could not be resolved commit.c /git/bu iltin line 889 Semantic Error Symbol 'active_nr' could not be resolved commit.c /git/bu iltin line 898 Semantic Error Field 'oid' could not be resolved commit.c /git/builtin line 1654 Semantic Error Symbol 'active_nr' could not be resolved commit.c /git/bu iltin line 901 Semantic Error Symbol 'active_cache_tree' could not be resolved commit.c /git/builtin line 1654 Semantic Error Symbol 'active_cache_changed' could not be resolved commit.c /git/builtin line 418 Semantic Error Symbol 'active_cache_tree' could not be resolved commit.c /git/builtin line 419 Semantic Error Symbol 'active_nr' could not be resolved commit.c /git/bu iltin line 254 Semantic Error Symbol 'active_cache' could not be resolved commit.c /git /builtin line 255 Semantic Error

I can debug without problems, but what if I should trece through one of those errors? How can I fix them? Thanks in advance!!! Fabio.

Next: Randall S. Becker
Message 1 of 17 in “Semantic errors”
  1. Fabio AiutoMar 21, 2019
  2. Randall S. BeckerMar 21, 2019
  3. Fabio AiutoMar 21, 2019
  4. Randall S. BeckerMar 21, 2019
  5. Fabio AiutoMar 22, 2019
  6. Randall S. BeckerMar 22, 2019
  7. Fabio AiutoMar 22, 2019
  8. Randall S. BeckerMar 22, 2019
  9. Fabio AiutoMar 22, 2019
  10. Randall S. BeckerMar 22, 2019
  11. Fabio AiutoMar 23, 2019
  12. Fabio AiutoMar 23, 2019
  13. Randall S. BeckerMar 23, 2019
  14. Fabio AiutoMar 25, 2019
  15. Randall S. BeckerMar 25, 2019
  16. Fabio AiutoMar 25, 2019
  17. Fabio AiutoMar 22, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.