Author Topic: DIFF_READONLY_TYPE fails to compile in latest hotfixes  (Read 8923 times)

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
DIFF_READONLY_TYPE fails to compile in latest hotfixes
« on: April 24, 2009, 06:20:05 PM »
With the r13 hotfixes, when I try to compile diff.e (or other macros that #import it) via Macro|Load Module, the compile fails with "Expecting type name" on the following line:
Code: [Select]
static void DiffSetupWindows(int editorctl_wid,int readonly_wid,int inmem,
                             DIFF_READONLY_TYPE ReadOnly
                             )

Did vslick.sh need to come in the hotfix zip?
Am I doing something wrong?

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 384
  • Hero Points: 29
Re: DIFF_READONLY_TYPE fails to compile in latest hotfixes
« Reply #1 on: April 24, 2009, 07:20:50 PM »
I do not seem to have that issue.  Could you attach (or send in to support) a sample macro that reproduces the issue?

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: DIFF_READONLY_TYPE fails to compile in latest hotfixes
« Reply #2 on: April 24, 2009, 07:55:45 PM »
As mentioned by buggyfunbunny here, there is no diff.sh in the hotfix.
I think that's the problem.

To reproduce the problem, try installing a brand new SE2009 and then load hotfixes.

Phil Barila

  • Senior Community Member
  • Posts: 745
  • Hero Points: 61
Re: DIFF_READONLY_TYPE fails to compile in latest hotfixes
« Reply #3 on: April 24, 2009, 10:52:53 PM »
Just to make sure it gets the proper attention, you might want to file this directly with Support.

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: DIFF_READONLY_TYPE fails to compile in latest hotfixes
« Reply #4 on: April 24, 2009, 11:21:38 PM »
Repro steps:

1.  Install clean fresh SlickEdit 14.0.0.7
2.  Download hotfix_se1400_cumulative.zip (r13) from www.slickedit.com
3.  Help | Product Updates | Load Hotfix
4.  Choose the hotfix_se1400_cumulative.zip that was downloaded
5.  Open {Your SlickEdit Config Dir}\hotfixes\diff.e
6.  Macro | Load Module

RESULT = Error "Expecting type name" and cursor is at symbol "DIFF_READONLY_TYPE" in diff.e.

The hotfix.xml says it contains diff.sh, but there is no diff.sh file in the zip file.
It appears the hotfix zip is missing diff.sh which is required in order to compile the hotfixed diff.e (and the other macros that #import it).

As suggested, I'm also reporting this directly to Support.

buggyfunbunny

  • Senior Community Member
  • Posts: 233
  • Hero Points: 4
Re: DIFF_READONLY_TYPE fails to compile in latest hotfixes
« Reply #5 on: April 25, 2009, 01:08:16 AM »
Just to make sure it gets the proper attention, you might want to file this directly with Support.

done

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: DIFF_READONLY_TYPE fails to compile in latest hotfixes
« Reply #6 on: April 28, 2009, 04:54:35 PM »
The r15 hotfixes solve the problem.

Phil Barila

  • Senior Community Member
  • Posts: 745
  • Hero Points: 61
Re: DIFF_READONLY_TYPE fails to compile in latest hotfixes
« Reply #7 on: April 28, 2009, 05:13:31 PM »
The r15 hotfixes solve the problem.
Oh, man.  I was going to say that.   :D