Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Finally got the profiling build to actually build...

    Finally got the profiling build to actually build & run, albeit with an unfixed segfault, since other people will no doubt find this thread later (or may even be watching this thread for hints on how...
  2. Replies
    1
    Views
    118

    wound up going with this: #define ACHS_0TO9...

    wound up going with this:


    #define ACHS_0TO9 "0123456789"
    #define ACHS_ATOZ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    #define ACHS_atoz "abcdefghijklmnopqrstuvwxyz"

    typedef struct _ACHN
    {
    uint not0;
  3. Replies
    1
    Views
    118

    Suggestions desired

    The part marked with a TODO comment in the below is what I'm looking for suggestions on:


    #define ACHS_0TO9 "0123456789"
    #define ACHS_ATOZ "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    #define ACHS_atoz...
  4. Thread: insertion bug

    by awsdert
    Replies
    1
    Views
    156

    Never mind, I somehow managed to fix it, can't...

    Never mind, I somehow managed to fix it, can't pinpoint what the problem was though as I made many changes, if I remember rightly it ended up being just an offset being 1 too far near the start of...
  5. Thread: insertion bug

    by awsdert
    Replies
    1
    Views
    156

    insertion bug

    I'll start with links for what this is connected to:

    Have a cross-language bug I need help with - OpenGL - Khronos Forums
    Files * 8bdff7736ba737a966e101401635d2d86ee0416d * Lee Shallis /...
  6. That doesn't answer any questions

    That doesn't answer any questions
  7. I think that would be a case by case basis in...

    I think that would be a case by case basis in terms of type of static library but sure, that at least makes sense, still not the 1st thing a newbie to building static libs would expect, case & point...
  8. So you're saying by linking objects together the...

    So you're saying by linking objects together the linker is not doing it's job? Right, makes total sense *please note the STRONG sarcasm*
  9. 1st. Someone seems a bit snippy 2nd. Given that...

    1st. Someone seems a bit snippy
    2nd. Given that static libraries are a thing that is exclusive to programming (while media is technically static it's outright weird to say you want to make a static...
  10. Compile/Linkage situation is still going hairy: ...

    Compile/Linkage situation is still going hairy:


    make profile=1 debug=1 static_libs=1 rebuild
    include ../makefile
    include ../../makefile
    cd ../../ && make rebuild --no-print-directory
    make -f...
  11. Never mind, found out that contrary to what one...

    Never mind, found out that contrary to what one would expect gcc does not support building static libraries (at least according to the guide I found), I instead have to use an entirely different...
  12. Need a little help setting up gprof based compile

    I've got as far as this:


    make profile=1 debug=1 static_libs=1 rebuild
    ...
    make -f gnu.mak rebuild check=extra
    rm -f src/basic/branch.c.o src/basic/buffer.c.o src/basic/defect.c.o...
  13. Never mind, finally found the source of the...

    Never mind, finally found the source of the problem... I think, either way the issue no longer exists, what I fixed was the type of pointer I was using in the function (not the struct), I was still...
  14. Most bizare debugging issue I've ever seen

    A screen shot or 2 would not have conveyed the issue all that well, here's a short window capture displaying the issue (watch the address of app->vfxcfg), anyone able to understand why this...
  15. Good to know thank you :)

    Good to know thank you :)
  16. You realise God is not only a reality but the...

    You realise God is not only a reality but the reason we all exist right? You could think of God as the perfect quantum computer that has no pyhsical limitations, not a great comparison due to...
  17. Well the docs for dirname says it modifies path...

    Well the docs for dirname says it modifies path anyways, since _splitpath likely just loops through each character 1 by 1 it will probably set 0 before it checks the next character which would...
  18. ty :) I'm now using this: #ifdef _WIN32...

    ty :) I'm now using this:


    #ifdef _WIN32
    char* dirname( char* path )
    {
    _splitpath( path, NULL, path, NULL, NULL );
    return path;
    }
    #else
  19. Wrong one but did direct me to the one I was...

    Wrong one but did direct me to the one I was after, dirname(), now I just need one for _WIN32
  20. Google didn't help, looking for directory extracter

    let's say I have a path like "shaders/vfxapps.ini" or "shaders\\vfxapps.ini" is there a standard way to extract just the directory part or will I need to write my own function for it?
  21. Replies
    4
    Views
    349

    You're missing the point, if the parent make...

    You're missing the point, if the parent make defaults to assuming the flag is set the the child process should be doing the same, there should be no adding the flag directly unless it is directly...
  22. Replies
    4
    Views
    349

    Turns out that w comes from make inserting an...

    Turns out that w comes from make inserting an implied flag, if it's implied it shouldn't need to be inserted in the 1st place, anyways I also found out that the file flag doesn't do as any normal...
  23. Replies
    4
    Views
    349

    Found another bug that confounds me, not even...

    Found another bug that confounds me, not even sure if the bug is mine or make's, here's my makefile:


    MAKECMDGOALS?=info
    MAKECMDGOALS:=$(filter-out build%,$(MAKECMDGOALS))

    $(if $(filter...
  24. Replies
    4
    Views
    349

    Strange makefile bug

    Here's my output, see if you can spot the problem:


    make --no-print-directory DEBUG=1 rebuild
    wildcard ../../../../* = ../../../../argv.c ../../../../bin ../../../../include ../../../../mak...
  25. Replies
    20
    Views
    1,029

    Combinatorics was a new term to me so I had to...

    Combinatorics was a new term to me so I had to look it up but from my understanding the rules require that you throw away some gems sometimes prior to calculating the max length of the necklace, for...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4