From b939d0e0555b0fe0e3609d6d867941b9aacf0e6f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 18 Jun 2023 19:55:28 +0200 Subject: CPP Enable Pragma Once: Remove cli '--enablePragmaOnce' option as it is enabled by default --- src/java/com/jogamp/gluegen/GlueGen.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/java/com/jogamp/gluegen') diff --git a/src/java/com/jogamp/gluegen/GlueGen.java b/src/java/com/jogamp/gluegen/GlueGen.java index edfe360..2370db3 100644 --- a/src/java/com/jogamp/gluegen/GlueGen.java +++ b/src/java/com/jogamp/gluegen/GlueGen.java @@ -411,8 +411,6 @@ public class GlueGen implements GlueEmitterControls { debug=true; } else if (arg.equals("--dumpCPP")) { copyCPPOutput2Stderr=true; - } else if (arg.equals("--enablePragmaOnce")) { - enablePragmaOnce=true; } else if (arg.equals("--disablePragmaOnce")) { enablePragmaOnce=false; } else if (arg.equals("--preserveGeneratedCPP")) { @@ -466,8 +464,7 @@ public class GlueGen implements GlueEmitterControls { out.println("-Cjava-emitter.cfg."); out.println(" --debug enables debug mode"); out.println(" --dumpCPP directs CPP to dump all output to stderr as well"); - out.println(" --enablePragmaOnce allow handle of #pragma once directive during parsing (default)"); - out.println(" --disablePragmaOnce disable handling of #pragma once directive during parsing"); + out.println(" --disablePragmaOnce disable handling of #pragma once directive during parsing (enabled by default)"); out.println(" --preserveGeneratedCPP preserve generated CPP file during generation (File it's already preserved by debug mode)"); exit(1); } -- cgit v1.2.3