NO

Author Topic: Version 10.00 (RC1) is now available  (Read 27448 times)

Offline Marco

  • Member
  • *
  • Posts: 45
Re: Version 10.00 (RC1) is now available
« Reply #45 on: June 25, 2020, 02:42:45 PM »
Here how to reproduce the issue. Please, create the following 3 files into the BIN folder of PellesC:

comp.bat
Code: [Select]
@ECHO OFF

CALL povars64.bat
set INCLUDE=\Include;%INCLUDE%

pocc -W1 -Gd -Go -Ze -Zx -MT -Tamd64-coff -D_WIN32_WINNT=0x0600 %1.c
polink -subsystem:windows -machine:x64 %1.obj %1.res

test1.c
Code: [Select]
#include "..\header.h"

test2.c
Code: [Select]
#include "..\..\header.h"

Start a CMD shell, go to the above BIN folder and then execute:

comp test1.c

Output:
Code: [Select]
Setting 64-bit environment for Pelles C...
test1.c(3): fatal error #1035: Can't find include file "..\header.h".
POLINK: fatal error: File not found: 'test1.obj'.

comp test2.c

Output:
Code: [Select]
Setting 64-bit environment for Pelles C...
fatal error: Internal error: 'Access violation' at 0x0000000077581d1e.
POLINK: fatal error: File not found: 'test2.obj'.

I hope this helps.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Version 10.00 (RC1) is now available
« Reply #46 on: June 25, 2020, 05:41:13 PM »
Here how to reproduce the issue. Please, create the following 3 files into the BIN folder of PellesC:
...
I hope this helps.
Sure did. Now I can reproduce this. Will have a look...
/Pelle