Git Product home page Git Product logo

ini.d's People

Contributors

jessekphillips avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ini.d's Issues

Fails on OSX

The ini test fails, with this:
Joels-MacBook-Pro:D joelcnz$ dmd ini.d -main -unittest -ofut
Joels-MacBook-Pro:D joelcnz$ ./ut
0 ut 0x000000010d97525e _D4core7runtime18runModuleUnitTestsUZb19unittestSegvHandlerUiPS4core3sys5posix6signal9siginfo_tPvZv + 62
1 libsystem_platform.dylib 0x00007fff922f45aa _sigtramp + 26
2 ??? 0x00007fff522a4500 0x0 + 140734571889920
3 libsystem_c.dylib 0x00007fff8ee9adb6 __vfprintf + 16915
4 libsystem_c.dylib 0x00007fff8eebf2db __v2printf + 471
5 libsystem_c.dylib 0x00007fff8eea4f67 _vsnprintf + 623
6 libsystem_c.dylib 0x00007fff8eea501c vsnprintf + 80
7 ut 0x000000010d9a7aa2 D3std6stream6Stream7vprintfMFAxaPvZm + 126
8 ut 0x000000010d9a7bc0 D3std6stream6Stream6printfMFAxaYm + 180
9 ut 0x000000010d95ca86 D3ini3Ini12saveToStreamMFC3std6stream6StreamZv + 390
10 ut 0x000000010d95cd1f D3ini3Ini4saveMFZv + 207
11 ut 0x000000010d95d6a4 D3ini16__unittestL856_1FZv + 780
12 ut 0x000000010d95b079 _D3ini9__modtestFZv + 9
13 ut 0x000000010d9752e0 D4core7runtime18runModuleUnitTestsUZb14__foreachbody3MFKPS6object10ModuleInfoZi + 48
14 ut 0x000000010d986489 D2rt5minfo17moduleinfos_applyFMDFKPS6object10ModuleInfoZiZi14__foreachbody2MFKS2rt12sections_osx12SectionGroupZi + 85
15 ut 0x000000010d98641d D2rt5minfo17moduleinfos_applyFMDFKPS6object10ModuleInfoZiZi + 49
16 ut 0x000000010d975183 runModuleUnitTests + 139
17 ut 0x000000010d98115f D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi6runAllMFZv + 23
18 ut 0x000000010d981115 D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi7tryExecMFMDFZvZv + 45
19 ut 0x000000010d981091 _d_run_main + 449
20 ut 0x000000010d95b0f4 main + 20
21 libdyld.dylib 0x00007fff924555fd start + 1
Segmentation fault: 11
Joels-MacBook-Pro:D joelcnz$

This little program fails with "Segmentation fault: 11":

import ini;

void main() {
auto ini = new Ini("ini.txt");
ini.addSection("sec0");
ini.save;
}

Question

Hi. I'm trying to use ini.d, but I get errors. This code work or he is in a stage of debugging? I'm working on dmd 2.64 for Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.