You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling a simple ggplotnim example file I get quite a few warnings and "declared but not used" hints. The compiled executable seems to work fine but it would be nice to be able to get a clean compilation when using ggplotnim.
For the record, this is the output of my last compilation:
c:\examples\ggplotnim>nim c -d:nolapack -r ggplotnim_example2.nim
Hint: used config file 'C:\Users\username\.choosenim\toolchains\nim-1.6.6\config\nim.cfg' [Conf]
Hint: used config file 'C:\Users\username\.choosenim\toolchains\nim-1.6.6\config\config.nims' [Conf]
Hint: used config file 'c:\examples\ggplotnim\config.nims' [Conf]
..........................................................................................................................................
C:\Users\username\.nimble\pkgs\nimblas-0.2.2\nimblas\private\common.nim(50, 7) Hint: Using BLAS library with name: blas.dll [User]
........................................................................................
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_types.nim(822, 7) Hint: 'typeName' is declared but not used [XDeclaredButNotUsed]
..
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_scales.nim(1, 22) Warning: imported and not used: 'algorithm' [UnusedImport]
.
C:\Users\username\.choosenim\toolchains\nim-1.6.6\lib\pure\collections\sequtils.nim(1000, 11) Hint: 'it' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_ticks.nim(83, 9) Hint: 'base' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_ticks.nim(77, 7) Hint: 'numTicks' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_ticks.nim(268, 9) Hint: 'scale' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_ticks.nim(384, 76) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_ticks.nim(386, 83) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_ticks.nim(403, 88) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_ticks.nim(463, 13) Hint: 'secAxis' is declared but not used [XDeclaredButNotUsed]
....
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\postprocess_scales.nim(242, 28) template/generic instantiation of `{}` from here
C:\Users\username\.nimble\pkgs\datamancer-0.2.3\datamancer\formula.nim(1168, 14) Warning: Formula (~ countCol 0) has a mismatch between given formula kind:
`~` (mapping)
and automatically determined formula kind:
<< (reducing)
Please adjust the given kind to `<<`. [User]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\postprocess_scales.nim(256, 12) Hint: 'assignTileRaster' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\postprocess_scales.nim(539, 9) Hint: 'xData' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\postprocess_scales.nim(523, 7) Hint: 'data' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\postprocess_scales.nim(646, 47) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\datamancer-0.2.3\datamancer\dataframe.nim(512, 16) Hint: Consider simply using `toDf` instead of `seqsToDf`. [User]
C:\Users\username\.nimble\pkgs\datamancer-0.2.3\datamancer\dataframe.nim(512, 16) Hint: Consider simply using `toDf` instead of `seqsToDf`. [User]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\postprocess_scales.nim(3, 37) Warning: imported and not used: 'ggplot_utils' [UnusedImport]
C:\Users\username\.choosenim\toolchains\nim-1.6.6\lib\pure\collections\sequtils.nim(1000, 11) Hint: 'it' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(121, 7) Hint: 'vKind' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(603, 32) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(570, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(603, 32) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(570, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(295, 15) Hint: 't' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(603, 32) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(603, 32) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(591, 7) Hint: 'facetCols' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(669, 34) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(669, 34) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(673, 33) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(673, 33) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(677, 34) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(677, 34) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(681, 33) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(681, 33) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(685, 34) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(685, 34) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(698, 33) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(515, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(698, 33) template/generic instantiation of `callFillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(572, 25) template/generic instantiation of `fillScale` from here
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\collect_and_fill.nim(518, 56) Warning: This proc cannot be reimplemented in a backward compatible way.; toRawSeq is deprecated [Deprecated]
.
C:\Users\username\.choosenim\toolchains\nim-1.6.6\lib\pure\collections\sequtils.nim(1000, 11) Hint: 'it' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.choosenim\toolchains\nim-1.6.6\lib\pure\collections\sequtils.nim(1000, 11) Hint: 'it' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_drawing.nim(616, 7) Hint: 'anyDiscrete' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_drawing.nim(2, 37) Warning: imported and not used: 'ggplot_scales' [UnusedImport]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim\ggplot_drawing.nim(3, 18) Warning: imported and not used: 'colormaps' [UnusedImport]
C:\Users\username\.choosenim\toolchains\nim-1.6.6\lib\pure\collections\sequtils.nim(1000, 11) Hint: 'it' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(1468, 7) Hint: 'i' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(2178, 7) Hint: 'hideTickLabels' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.choosenim\toolchains\nim-1.6.6\lib\pure\collections\sequtils.nim(1000, 11) Hint: 'it' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(2417, 11) Hint: 'ytickView' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(2610, 7) Hint: 'pltSeq' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ginger-0.3.10\ginger.nim(1898, 7) Hint: 'totalHeight' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(2882, 7) Hint: 'hideTickLabels' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(3004, 7) Hint: 'pltViews' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(2882, 7) Hint: 'hideTickLabels' is declared but not used [XDeclaredButNotUsed]
...
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(55, 6) Hint: 'orNone' is declared but not used [XDeclaredButNotUsed]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(4, 35) Warning: imported and not used: 'sugar' [UnusedImport]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(4, 18) Warning: imported and not used: 'streams' [UnusedImport]
C:\Users\username\.nimble\pkgs\ggplotnim-0.5.1\ggplotnim.nim(4, 8) Warning: imported and not used: 'parsecsv' [UnusedImport]
Hint: [Link]
Hint: gc: orc; opt: speed; options: -d:release
185779 lines; 6.814s; 428.664MiB peakmem; proj: c:\examples\ggplotnim\ggplotnim_example2.nim; out: c:\examples\ggplotnim\ggplotnim_example2.exe [SuccessX]
Hint: c:\examples\ggplotnim\ggplotnim_example2.exe [Exec]
The text was updated successfully, but these errors were encountered:
Yeah, there's a whole bunch of messages that accumulated over time, sorry about that. I've been meaning to clean them up for a while now, because it's been annoying me for a while now too. This gives me the push to finally get to it though, so thanks!
I've applied the necessary changes to #145. I still need to fix up some stuff around the original feature to merge it (I think some result plots need to be updated, but I need to have a proper look). Hopefully I get this done this weekend.
Compiling a simple ggplotnim example file I get quite a few warnings and "declared but not used" hints. The compiled executable seems to work fine but it would be nice to be able to get a clean compilation when using ggplotnim.
For the record, this is the output of my last compilation:
The text was updated successfully, but these errors were encountered: