Generating unique header guard name failes completely

It allways generates: JUCER_COMPONENTTEMPLATE_JUCEHEADER:

#ifndef JUCER_COMPONENTTEMPLATE_JUCEHEADER
#define JUCER_COMPONENTTEMPLATE_JUCEHEADER

According to the code, this shouldn’t happen. Any idea?

The template should contain

#ifndef %%headerGuard%% #define %%headerGuard%%

There was a bug where one version of the jucer templates had the wrong thing at the top of the header, but I thought this was ok in the latest release.

[quote=“jules”]The template should contain

#ifndef %%headerGuard%% #define %%headerGuard%%

There was a bug where one version of the jucer templates had the wrong thing at the top of the header, but I thought this was ok in the latest release.[/quote]

Its working now. It was because my templates directory was set wrong.

Perhaps its possible to use some versioning scheme to avoid this problem?

yes, a versioning scheme might not be a bad idea…