Details
-
Bug
-
Status: Closed (View Workflow)
-
High
-
Resolution: Fixed
-
6.14/00
-
None
-
Linux Mageia 6 64-bits
Description
Hello, if I type the following line, I get an error
root -l test.root
|
------------------------------------------------------------
|
|Welcome to ROOT 6.14/00 [http://root.cern.ch|http://root.cern.ch/]|
|
|(c) 1995-2018, The ROOT Team|
|
|Built for linuxx8664gcc|
|
|From tag v6-14-00, 13 June 2018|
|
|Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'|
|
|
------------------------------------------------------------
|
|
root [0]
|
Attaching file test.root as _file0...
|
(TFile *) 0x1368150
|
root [1] h2X->SaveAs("test.C")
|
Info in <TH1D::SaveAs>: C++ Macro file: test.C has been generated
|
root [2] .x test.C
|
/home/delaune/dev/build/./test.C:4044:18: warning: missing terminating '"' character [-Winvalid-pp-token]
|
pmarker->Draw("nodraw #1
|
^
|
/home/delaune/dev/build/./test.C:4044:18: error: expected expression
|
/home/delaune/dev/build/./test.C:4045:1: warning: missing terminating '"' character [-Winvalid-pp-token]
|
");
|
^
|
<<< cling interactive line includer >>>:1:1: error: expected '}'
|
input_line_46:1:43: note: to match this '{'
|
void __cling_Un1Qu318(void* vpClingValue) {
|
The problem is well identified and it looks like the SaveAs method does not manage correctly the TPolyMarker draw options. The consequance is the .C macro cannot be run without editing it.