error: ???

elfelf Membre
16:25 modifié dans API AppKit #1
Bonjour a tous...

J'ai une erreur:

/Developer/Private/jam -d1 -j1 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.1 BUILD_STYLE=Development CPP_HEADERMAP_FILE=/Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.build/sCalc.build/sCalc.hmap SRCROOT=/Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc OBJROOT=/Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build SYMROOT=/Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build DSTROOT=/tmp/sCalc.dst<br /><br />PBXCp /Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.app/Contents/PkgInfo <br />&nbsp; &nbsp; /Developer/Tools/pbxcp&nbsp; -exclude .DS_Store -exclude CVS -resolve-src-symlinks&nbsp; /Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.build/sCalc.build/PkgInfo&nbsp; /Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.app/Contents <br /><br />BuildPhase &lt;CopyResources&gt;sCalc.app <br /><br />CompileC /Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.build/sCalc.build/Objects-normal/ppc/Calculator.o <br />&nbsp; &nbsp; /usr/bin/gcc3&nbsp; -c -F/Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build&nbsp; -I/Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/include&nbsp; -arch ppc -fno-common -fpascal-strings -O0 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe &quot;-fmessage-length=0&quot; -mdynamic-no-pic -g -Wp,-header-mapfile,/Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.build/sCalc.build/sCalc.hmap&nbsp; &nbsp; --load-pch /Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.build/sCalc.build/PrefixHeaders/sCalc_Prefix-ppc.pfe&nbsp; &nbsp; Calculator.m&nbsp; -o /Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.build/sCalc.build/Objects-normal/ppc/Calculator.o <br />In file included from Calculator.m:2:<br />Calculator.h:7: stray &#39;&#092;312&#39; in program<br />Calculator.m: In function `-[Calculator getValueOfCurrentEditingBuffer]&#39;:<br />Calculator.m:29: stray &#39;&#092;312&#39; in program<br />Calculator.m:29: stray &#39;&#092;312&#39; in program<br />Calculator.m:29: stray &#39;&#092;312&#39; in program<br />Calculator.m: In function `-[Calculator waitForNTM]&#39;:<br />Calculator.m:48: stray &#39;&#092;312&#39; in program<br />Calculator.m: In function `-[Calculator waitForNTD]&#39;:<br />Calculator.m:57: stray &#39;&#092;312&#39; in program<br />Calculator.m: In function `-[Calculator endOp]&#39;:<br />Calculator.m:66: stray &#39;&#092;312&#39; in program<br />Calculator.m: In function `-[Calculator execB2toB1]&#39;:<br />Calculator.m:77: stray &#39;&#092;312&#39; in program<br />Calculator.m:80: stray &#39;&#092;312&#39; in program<br />Calculator.m:83: stray &#39;&#092;312&#39; in program<br />Calculator.m:83: stray &#39;&#092;312&#39; in program<br />Calculator.m:83: parse error before &#39;;&#39; token<br />Calculator.m:86: stray &#39;&#092;312&#39; in program<br />Calculator.m:89: stray &#39;&#092;312&#39; in program<br />Calculator.m: In function `-[Calculator handleNumber:]&#39;:<br />Calculator.m:96: stray &#39;&#092;312&#39; in program<br />Calculator.m:100: stray &#39;&#092;312&#39; in program<br />Calculator.m:103: stray &#39;&#092;312&#39; in program<br />Calculator.m:104: stray &#39;&#092;312&#39; in program<br />Calculator.m:108: stray &#39;&#092;312&#39; in program<br />Calculator.m:111: stray &#39;&#092;312&#39; in program<br />...failed CompileC /Users/kenneth/Desktop/Programation/Programmes/Cocoa/sCalc/build/sCalc.build/sCalc.build/Objects-normal/ppc/Calculator.o ...<br /><br />


Quelqu'un connais cela et peut me dire mon erreur?

Demendez moi le code dont vous avez besoin...

Merci,
SeoxyS

Réponses

  • fouffouf Membre
    16:25 modifié #2
    Tu as fait un bête copier-coller de code source à  partir d'un navigateur web. Il faut que tu remplaces les ; par des ; (si si :P).
  • muqaddarmuqaddar Administrateur
    16:25 modifié #3
    Oui, ce sont des caractères invisibles aussi que voit le compilateur.
    On en a déjà  parlé x fois sur ce forum. ;)
  • elfelf Membre
    16:25 modifié #4
    OK merci

    ça va marcher si je fais un remplacer auto de ; vers ; ???
Connectez-vous ou Inscrivez-vous pour répondre.