regex.h problem

  • thehugh100
    25th Feb 2011 Member 0 Permalink
    ok i have followed that pinned thread and i get this error:

    1>------ Build started: Project: tptmod, Configuration: Debug Win32 ------
    1>Build started 24/02/2011 17:10:11.
    1>InitializeBuildStatus:
    1> Touching "Debug\tptmod.unsuccessfulbuild".
    1>ClCompile:
    1> misc.c
    1>C:\aaaaaaaaaaaaaaaaaaaaaaaasa\FacialTurd-The-Powder-Toy-879dd43\includes\regex.h(45): error C2061: syntax error : identifier '__THROW'
    1>C:\aaaaaaaaaaaaaaaaaaaaaaaasa\FacialTurd-The-Powder-Toy-879dd43\includes\regex.h(45): error C2059: syntax error : ';'
    1>C:\aaaaaaaaaaaaaaaaaaaaaaaasa\FacialTurd-The-Powder-Toy-879dd43\includes\regex.h(46): error C2061: syntax error : identifier '__THROW'
    1>C:\aaaaaaaaaaaaaaaaaaaaaaaasa\FacialTurd-The-Powder-Toy-879dd43\includes\regex.h(46): error C2059: syntax error : ';'
    1>C:\aaaaaaaaaaaaaaaaaaaaaaaasa\FacialTurd-The-Powder-Toy-879dd43\includes\regex.h(47): error C2061: syntax error : identifier '__THROW'
    1>C:\aaaaaaaaaaaaaaaaaaaaaaaasa\FacialTurd-The-Powder-Toy-879dd43\includes\regex.h(47): error C2059: syntax error : ';'
    1>C:\aaaaaaaaaaaaaaaaaaaaaaaasa\FacialTurd-The-Powder-Toy-879dd43\includes\regex.h(48): error C2061: syntax error : identifier '__THROW'
    1>C:\aaaaaaaaaaaaaaaaaaaaaaaasa\FacialTurd-The-Powder-Toy-879dd43\includes\regex.h(48): error C2059: syntax error : ';'
    1>src\misc.c(125): warning C4013: 'regcomp' undefined; assuming extern returning int
    1>src\misc.c(127): warning C4013: 'regexec' undefined; assuming extern returning int
    1>src\misc.c(128): warning C4013: 'regfree' undefined; assuming extern returning int
    1>
    1>Build FAILED.
    1>
    1>Time Elapsed 00:00:00.64
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    any ideas? i would really apreciate it if you could help me.
  • Diissaster
    25th Feb 2011 Member 0 Permalink
    Are you compiling an unchanged source?
  • thehugh100
    25th Feb 2011 Member 0 Permalink
    yes no changes
  • Uberness
    25th Feb 2011 Member 0 Permalink
    I have this problem too, it's kind of different tho.
    https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=4115
  • Diissaster
    25th Feb 2011 Member 0 Permalink
    You have made a mistake with linking. Please go over the tutorial again.
  • thehugh100
    25th Feb 2011 Member 0 Permalink
    @Diissaster
    i didnt understand it can you PLEASE help
    edit that contradicts the title... i did get it but could you dumb it down so i can make sure a linked it right