Comments (3)
Thanks for the report. Yes, far as I can tell it you are using it correctly. When I compile your main I do not see this bug. (I'm calling dmd and ldc directly.)
Looking at the phobos library, this looks like a difference between rawRead
on Unix/MacOs vs Windows. (tsv-utils
are tested on Unix and MacOS, but not Windows.) On Windows there is a call to an @system
function. On Unix and other non-Windows platforms rawRead
calls trustedFread
, which has been marked @trusted
, so it can be called from @safe
code.
I should probably remove the @safe
attribute on the popFront
call. I'll do that as part of the next point release. It'll be a few days before I can make this change though. If you want to try making the change locally, the place to make it is here
from tsv-utils.
Hopefully PR #283 addresses this case. dub
won't pick up the new version until I tag a new version, and I might not get to for a few days. (There's some additional work on my part.)
from tsv-utils.
@tastyminerals - A new release (v1.6.1
) with the change has been tagged and is available via dub
. Hopefully this enables compilation.
I'm closing this for now. When you get a chance I'm hoping you can test in your environment and report if it worked or not. If it didn't work, reopen this issue or a new issue as appropriate.
Thanks again for the report.
from tsv-utils.
Related Issues (20)
- AUR package with LTO & PGO enabled HOT 2
- How to best use the code as a library? HOT 4
- Improve tsv-pretty lookahead logic [tsv-pretty mistake in column formatting.] HOT 8
- Issue with installing on Windows 10 using D / build failure HOT 28
- tsv-summarize: Slice SummarizerBase._operators when invoking std.algorithm.each
- Inconsistent newline handling on Windows HOT 2
- Status of Windows build HOT 6
- Bulding tsv-utils with LTO and PGO on Archlinux HOT 14
- Homebrew install HOT 6
- Package tsv-utils for conda(-forge)? HOT 1
- No linux release assets for v2.2.1
- -bash: ./tsv-pretty: cannot execute binary file HOT 1
- Ability to produce proper CSV files
- Sort using column names
- tsv-append: limit number of rows per file? [feature request]
- Error [tsv-filter]: Not enough fields in line. File: c.tsv, Line: 1425063 HOT 1
- ENH: Add ARM64 build assets for native functionality on M1 macs (the future) HOT 3
- Q: any API doc? how to skip empty field in csvReader?
- Updated benchmarks including qsv HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsv-utils.