I received the following error: gpc -Wall --executable-file-name --automake --unit-path=/home/wstomv/projects/yahtzee/units --unit-destination-path=/home/wstomv/projects/yahtzee/units testdriver.p testdriver.p: In function `Testgamestatistics': testdriver.p:39: Internal compiler error in `contains_file_p', at util.c:1542 Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions. make: *** [testdriver] Error 1 The URL refers to a page that has moved and is for gcc, not gpc. What is the thing to do? The program that causes this is not so small (thousands of lines), and I don't feel like locating the error unless it is really helpful. By the way, I use gpc version 20001122, based on 2.95.2 19991024 (release) Greetings, Tom
Tom Verhoeff wrote:
Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions. make: *** [testdriver] Error 1
The URL refers to a page that has moved and is for gcc, not gpc.
I think this address should be changed to point to this list. Can you do this please, Peter?
It may have been the case that I had an outdated .gpi file. After removing it, and compiling again the internal compiler error disappeared.
This may well be the case. It is one of my main annoyances with GPC as well...
I am still confused that the compiler refers to Testgamestatistics as a function, because it actually is a procedure.
This might be because the code that emits the message comes from GCC and in C procedures are called functions. I don't know how easy it is to change this to the Pascal notations... Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
Hello, Frank Heckenbach wrote:
The URL refers to a page that has moved and is for gcc, not gpc.
I think this address should be changed to point to this list. Can you do this please, Peter?
Done.
I am still confused that the compiler refers to Testgamestatistics as a function, because it actually is a procedure.
This might be because the code that emits the message comes from GCC and in C procedures are called functions. I don't know how easy it is to change this to the Pascal notations...
There is a hook in GCC (in `toplev.c' search for `print_error_function') serving exactly this purpose. [...] Okay - GPC now distinguishes between procedures, functions, constructors, destructors, and operators in error messages. Testing, Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20001217 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net
participants (3)
-
Frank Heckenbach -
Peter Gerwinski -
Tom Verhoeff