Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Bug in headerguard plugin

(1/1)

MortenMacFly:
Dear Thomas,
this plugin does not work if files are being created from a (project) wizard. In that case it seems a header guard is applied twice...?!

thomas:
Works fine here? What exactly is the matter?

MortenMacFly:
...it's gone after updating to trunk. :oops:

styggentorsken:
The headerguard plugin forces me to use the guard <FILENAME_IN_CAPS>_H_INCLUDED

Is there any way to change this default?
I could not find the script to modify either.
I would like it to be <FILENAME_IN_CAPS>_H

thomas:

--- Quote from: styggentorsken on December 11, 2008, 03:44:35 pm ---The headerguard plugin forces me to use the guard <FILENAME_IN_CAPS>_H_INCLUDED
--- End quote ---
No, it doesn't. It uses HEADER_<64 bit hexadecimal number>. The hexadecimal number is a hash of the full pathname. There are no configuration options to change the output.

Navigation

[0] Message Index

Go to full version