Author Topic: v18 makefile problem: not expanding %oe  (Read 1180 times)

bunbun

  • Community Member
  • Posts: 29
  • Hero Points: 2
v18 makefile problem: not expanding %oe
« on: June 25, 2013, 07:56:46 am »
I have just upgraded to version 18 and all my c++ makefiles are breaking.
(I am using the auto generated makefile option to manage my builds.)

The
Code: [Select]
COMPILE line, normally has this
Code: [Select]
-o "$(OUTDIR)/$(*F).o".
Unfortunately, the extension
Code: [Select]
.o is being replaced by "code]e[/code]". I.e. at some point in
Code: [Select]
compile.e,
Code: [Select]
%oe is not being substituted. Instead, only the
Code: [Select]
%o is being replaced, leaving just the
Code: [Select]
e behind.

Is this a bug or a problem in my upgraded setup?
Leo
 

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4652
  • Hero Points: 373
Re: v18 makefile problem: not expanding %oe
« Reply #1 on: June 25, 2013, 10:58:03 am »
In "compile.e", after the line

lastOption = "%oe";

Add the following:

len = 3;

The code doesn't know what length it's replacing and just uses whatever the last value was for len. We will get this fix in the first hotfix.

bunbun

  • Community Member
  • Posts: 29
  • Hero Points: 2
Re: v18 makefile problem: not expanding %oe
« Reply #2 on: June 25, 2013, 01:54:10 pm »
Thanks. That appears to have fixed it.