Forum > Options

[SOLVED] What does 2nd dash stand for in compiler options '-b-' or '-p-'?

(1/1)

Wings2018:
In my fp.cfg I found settings like '-b-' and '-p-', but can't find in the 'user.pdf' the meaning of the 2nd dash. What does it stand for? I don't see this consistently, so is it applicable for some compiler options only? Where is this documented?

Thaddy:

--- Quote from: Wings2018 on October 08, 2018, 09:48:10 pm ---In my fp.cfg I found settings like '-b-' and '-p-', but can't find in the 'user.pdf' the meaning of the 2nd dash. What does it stand for? I don't see this consistently, so is it applicable for some compiler options only? Where is this documented?

--- End quote ---
Same as off: -b means option is on, -b- means option is off. Most options also allow -b+, but its use  is more or less by convention on many OS's. So it does not need much docu,mentation, although I believe it is documented.

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---# range checks on, explicitfpc -Cr+ hello.pas# also range checks on, implicit:fpc -Cr hello.pas# range checks offfpc -Cr- hello.pas
Edit: documented by the compiler itself:

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Free Pascal Compiler version 3.1.1 [2017/09/02] for x86_64  Copyright (c) 1993-2017 by Florian Klaempfl and others  /home/michael/FPC/installed/3.1.1/ppcx64 [options] <inputfile> [options]   Put + after a boolean switch option to enable it, - to disable it.  # <<<<<--------------------- 

Wings2018:
Ok, it's clear to me. Thanks for quick response !

This topic can be closed, although I don't know how or where to do this (if you tell me I can do it next time myself  :)).

lucamar:

--- Quote from: Wings2018 on October 09, 2018, 09:43:52 pm ---This topic can be closed, although I don't know how or where to do this (if you tell me I can do it next time myself  :)).

--- End quote ---

Just edit your first post and change the subject to: [SOLVED] What does 2nd dash ...

Navigation

[0] Message Index

Go to full version