Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l

Vladimir A. Merzliakov
I can't build LLVM CFE after this patchs
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html

Build terminated with messages:

--8X----------------------------------------------
llvm[2]: Compiling Lexer.cpp for Debug build
In file included from /Users/sabre/llvm/lib/AsmParser/Lexer.l:31:
llvmAsmParser.tab.h:274:1: warning: "ESINT64VAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:130:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:275:1: warning: "EUINT64VAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:131:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:276:1: warning: "SINTVAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:132:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:277:1: warning: "UINTVAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:133:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:278:1: warning: "FPVAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:134:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:279:1: warning: "VOID" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:135:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:280:1: warning: "BOOL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:136:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:281:1: warning: "SBYTE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:137:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:282:1: warning: "UBYTE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:138:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:283:1: warning: "SHORT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:139:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:284:1: warning: "USHORT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:140:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:285:1: warning: "INT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:141:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:286:1: warning: "UINT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:142:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:287:1: warning: "LONG" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:143:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:288:1: warning: "ULONG" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:144:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:289:1: warning: "FLOAT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:145:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:290:1: warning: "DOUBLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:146:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:291:1: warning: "TYPE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:147:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:292:1: warning: "LABEL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:148:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:293:1: warning: "VAR_ID" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:149:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:152:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:297:1: warning: "ZEROINITIALIZER" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:153:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:298:1: warning: "TRUETOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:154:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:299:1: warning: "FALSETOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:155:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:300:1: warning: "BEGINTOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:156:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:301:1: warning: "ENDTOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:157:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:302:1: warning: "DECLARE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:158:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:303:1: warning: "GLOBAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:159:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:304:1: warning: "CONSTANT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:160:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:305:1: warning: "SECTION" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:161:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:306:1: warning: "VOLATILE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:162:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:307:1: warning: "TO" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:163:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:308:1: warning: "DOTDOTDOT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:164:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:309:1: warning: "NULL_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:165:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:310:1: warning: "UNDEF" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:166:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:311:1: warning: "CONST" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:167:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:312:1: warning: "INTERNAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:168:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:313:1: warning: "LINKONCE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:169:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:314:1: warning: "WEAK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:170:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:315:1: warning: "APPENDING" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:171:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:316:1: warning: "OPAQUE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:172:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:317:1: warning: "NOT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:173:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:318:1: warning: "EXTERNAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:174:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:319:1: warning: "TARGET" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:175:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:320:1: warning: "TRIPLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:176:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:321:1: warning: "ENDIAN" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:177:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:322:1: warning: "POINTERSIZE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:178:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:323:1: warning: "LITTLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:179:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:324:1: warning: "BIG" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:180:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:325:1: warning: "ALIGN" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:181:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:326:1: warning: "DEPLIBS" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:182:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:327:1: warning: "CALL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:183:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:328:1: warning: "TAIL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:184:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:329:1: warning: "CC_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:185:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:330:1: warning: "CCC_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:186:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:331:1: warning: "FASTCC_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:187:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:332:1: warning: "COLDCC_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:188:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:333:1: warning: "RET" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:189:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:334:1: warning: "BR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:190:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:335:1: warning: "SWITCH" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:191:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:336:1: warning: "INVOKE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:192:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:337:1: warning: "UNWIND" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:193:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:338:1: warning: "UNREACHABLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:194:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:339:1: warning: "ADD" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:195:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:340:1: warning: "SUB" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:196:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:341:1: warning: "MUL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:197:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:342:1: warning: "DIV" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:198:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:343:1: warning: "REM" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:199:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:344:1: warning: "AND" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:200:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:345:1: warning: "OR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:201:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:346:1: warning: "XOR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:202:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:347:1: warning: "SETLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:203:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:348:1: warning: "SETGE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:204:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:349:1: warning: "SETLT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:205:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:350:1: warning: "SETGT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:206:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:351:1: warning: "SETEQ" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:207:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:352:1: warning: "SETNE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:208:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:353:1: warning: "MALLOC" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:209:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:354:1: warning: "ALLOCA" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:210:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:355:1: warning: "FREE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:211:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:356:1: warning: "LOAD" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:212:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:357:1: warning: "STORE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:213:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:358:1: warning: "GETELEMENTPTR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:214:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:359:1: warning: "PHI_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:215:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:360:1: warning: "CAST" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:216:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:361:1: warning: "SELECT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:217:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:362:1: warning: "SHL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:218:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:363:1: warning: "SHR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:219:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:364:1: warning: "VAARG" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:220:1:
warning: this is the location of the previous definition
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.y:911:
error: expected unqualified-id before '<<' token
llvmAsmParser.tab.h:272: error: expected unqualified-id before '==' token
llvmAsmParser.tab.h:273: error: expected declaration before '}' token
gmake[2]: ***
[/usr/home/wanderer/pkg/build/llvm/obj/lib/AsmParser/Debug/Lexer.o] Error 1

--X8----------------------------------------------

Vladimir

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l

Chris Lattner
On Wed, 11 Jan 2006, Vladimir A. Merzliakov wrote:
> I can't build LLVM CFE after this patchs
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html

This is most likely because you have conflict markers in the generated
files in the lib/AsmParser directory.  Try removing llvmAsmParser.[cpp,h]
and Lexer.cpp and rebuilding.

This is one really significant annoyance of having these files checked
into CVS.  Reid do you have any idea how we can solve this?

-Chris

> Build terminated with messages:
>
> --8X----------------------------------------------
> llvm[2]: Compiling Lexer.cpp for Debug build
> In file included from /Users/sabre/llvm/lib/AsmParser/Lexer.l:31:
> llvmAsmParser.tab.h:274:1: warning: "ESINT64VAL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:130:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:275:1: warning: "EUINT64VAL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:131:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:276:1: warning: "SINTVAL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:132:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:277:1: warning: "UINTVAL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:133:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:278:1: warning: "FPVAL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:134:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:279:1: warning: "VOID" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:135:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:280:1: warning: "BOOL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:136:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:281:1: warning: "SBYTE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:137:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:282:1: warning: "UBYTE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:138:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:283:1: warning: "SHORT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:139:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:284:1: warning: "USHORT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:140:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:285:1: warning: "INT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:141:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:286:1: warning: "UINT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:142:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:287:1: warning: "LONG" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:143:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:288:1: warning: "ULONG" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:144:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:289:1: warning: "FLOAT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:145:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:290:1: warning: "DOUBLE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:146:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:291:1: warning: "TYPE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:147:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:292:1: warning: "LABEL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:148:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:293:1: warning: "VAR_ID" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:149:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:152:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:297:1: warning: "ZEROINITIALIZER" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:153:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:298:1: warning: "TRUETOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:154:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:299:1: warning: "FALSETOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:155:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:300:1: warning: "BEGINTOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:156:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:301:1: warning: "ENDTOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:157:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:302:1: warning: "DECLARE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:158:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:303:1: warning: "GLOBAL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:159:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:304:1: warning: "CONSTANT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:160:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:305:1: warning: "SECTION" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:161:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:306:1: warning: "VOLATILE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:162:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:307:1: warning: "TO" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:163:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:308:1: warning: "DOTDOTDOT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:164:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:309:1: warning: "NULL_TOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:165:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:310:1: warning: "UNDEF" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:166:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:311:1: warning: "CONST" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:167:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:312:1: warning: "INTERNAL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:168:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:313:1: warning: "LINKONCE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:169:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:314:1: warning: "WEAK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:170:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:315:1: warning: "APPENDING" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:171:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:316:1: warning: "OPAQUE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:172:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:317:1: warning: "NOT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:173:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:318:1: warning: "EXTERNAL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:174:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:319:1: warning: "TARGET" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:175:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:320:1: warning: "TRIPLE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:176:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:321:1: warning: "ENDIAN" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:177:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:322:1: warning: "POINTERSIZE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:178:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:323:1: warning: "LITTLE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:179:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:324:1: warning: "BIG" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:180:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:325:1: warning: "ALIGN" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:181:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:326:1: warning: "DEPLIBS" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:182:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:327:1: warning: "CALL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:183:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:328:1: warning: "TAIL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:184:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:329:1: warning: "CC_TOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:185:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:330:1: warning: "CCC_TOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:186:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:331:1: warning: "FASTCC_TOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:187:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:332:1: warning: "COLDCC_TOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:188:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:333:1: warning: "RET" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:189:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:334:1: warning: "BR" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:190:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:335:1: warning: "SWITCH" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:191:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:336:1: warning: "INVOKE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:192:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:337:1: warning: "UNWIND" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:193:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:338:1: warning: "UNREACHABLE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:194:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:339:1: warning: "ADD" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:195:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:340:1: warning: "SUB" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:196:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:341:1: warning: "MUL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:197:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:342:1: warning: "DIV" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:198:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:343:1: warning: "REM" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:199:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:344:1: warning: "AND" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:200:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:345:1: warning: "OR" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:201:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:346:1: warning: "XOR" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:202:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:347:1: warning: "SETLE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:203:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:348:1: warning: "SETGE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:204:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:349:1: warning: "SETLT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:205:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:350:1: warning: "SETGT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:206:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:351:1: warning: "SETEQ" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:207:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:352:1: warning: "SETNE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:208:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:353:1: warning: "MALLOC" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:209:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:354:1: warning: "ALLOCA" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:210:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:355:1: warning: "FREE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:211:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:356:1: warning: "LOAD" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:212:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:357:1: warning: "STORE" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:213:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:358:1: warning: "GETELEMENTPTR" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:214:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:359:1: warning: "PHI_TOK" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:215:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:360:1: warning: "CAST" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:216:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:361:1: warning: "SELECT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:217:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:362:1: warning: "SHL" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:218:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:363:1: warning: "SHR" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:219:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:364:1: warning: "VAARG" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:220:1:
> warning: this is the location of the previous definition
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.y:911:
> error: expected unqualified-id before '<<' token
> llvmAsmParser.tab.h:272: error: expected unqualified-id before '==' token
> llvmAsmParser.tab.h:273: error: expected declaration before '}' token
> gmake[2]: ***
> [/usr/home/wanderer/pkg/build/llvm/obj/lib/AsmParser/Debug/Lexer.o] Error 1
>
> --X8----------------------------------------------
>
> Vladimir
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-Chris

--
http://nondot.org/sabre/
http://llvm.org/

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l

Jeff Cohen
For VC++, I solved this by having bison/flex put the files into the obj
directories.  I also have it unconditionally regenerate the files if
bison/flex is available, and copy them from src if they are not.

Chris Lattner wrote:

> On Wed, 11 Jan 2006, Vladimir A. Merzliakov wrote:
>
>> I can't build LLVM CFE after this patchs
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html 
>>
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html 
>>
>
>
> This is most likely because you have conflict markers in the generated
> files in the lib/AsmParser directory.  Try removing
> llvmAsmParser.[cpp,h] and Lexer.cpp and rebuilding.
>
> This is one really significant annoyance of having these files checked
> into CVS.  Reid do you have any idea how we can solve this?
>
> -Chris
>
>> Build terminated with messages:
>>
>> --8X----------------------------------------------
>> llvm[2]: Compiling Lexer.cpp for Debug build
>> In file included from /Users/sabre/llvm/lib/AsmParser/Lexer.l:31:
>> llvmAsmParser.tab.h:274:1: warning: "ESINT64VAL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:130:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:275:1: warning: "EUINT64VAL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:131:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:276:1: warning: "SINTVAL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:132:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:277:1: warning: "UINTVAL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:133:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:278:1: warning: "FPVAL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:134:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:279:1: warning: "VOID" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:135:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:280:1: warning: "BOOL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:136:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:281:1: warning: "SBYTE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:137:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:282:1: warning: "UBYTE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:138:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:283:1: warning: "SHORT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:139:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:284:1: warning: "USHORT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:140:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:285:1: warning: "INT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:141:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:286:1: warning: "UINT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:142:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:287:1: warning: "LONG" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:143:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:288:1: warning: "ULONG" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:144:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:289:1: warning: "FLOAT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:145:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:290:1: warning: "DOUBLE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:146:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:291:1: warning: "TYPE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:147:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:292:1: warning: "LABEL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:148:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:293:1: warning: "VAR_ID" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:149:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:152:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:297:1: warning: "ZEROINITIALIZER" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:153:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:298:1: warning: "TRUETOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:154:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:299:1: warning: "FALSETOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:155:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:300:1: warning: "BEGINTOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:156:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:301:1: warning: "ENDTOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:157:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:302:1: warning: "DECLARE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:158:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:303:1: warning: "GLOBAL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:159:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:304:1: warning: "CONSTANT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:160:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:305:1: warning: "SECTION" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:161:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:306:1: warning: "VOLATILE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:162:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:307:1: warning: "TO" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:163:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:308:1: warning: "DOTDOTDOT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:164:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:309:1: warning: "NULL_TOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:165:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:310:1: warning: "UNDEF" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:166:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:311:1: warning: "CONST" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:167:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:312:1: warning: "INTERNAL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:168:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:313:1: warning: "LINKONCE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:169:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:314:1: warning: "WEAK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:170:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:315:1: warning: "APPENDING" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:171:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:316:1: warning: "OPAQUE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:172:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:317:1: warning: "NOT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:173:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:318:1: warning: "EXTERNAL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:174:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:319:1: warning: "TARGET" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:175:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:320:1: warning: "TRIPLE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:176:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:321:1: warning: "ENDIAN" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:177:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:322:1: warning: "POINTERSIZE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:178:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:323:1: warning: "LITTLE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:179:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:324:1: warning: "BIG" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:180:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:325:1: warning: "ALIGN" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:181:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:326:1: warning: "DEPLIBS" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:182:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:327:1: warning: "CALL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:183:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:328:1: warning: "TAIL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:184:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:329:1: warning: "CC_TOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:185:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:330:1: warning: "CCC_TOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:186:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:331:1: warning: "FASTCC_TOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:187:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:332:1: warning: "COLDCC_TOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:188:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:333:1: warning: "RET" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:189:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:334:1: warning: "BR" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:190:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:335:1: warning: "SWITCH" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:191:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:336:1: warning: "INVOKE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:192:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:337:1: warning: "UNWIND" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:193:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:338:1: warning: "UNREACHABLE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:194:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:339:1: warning: "ADD" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:195:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:340:1: warning: "SUB" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:196:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:341:1: warning: "MUL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:197:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:342:1: warning: "DIV" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:198:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:343:1: warning: "REM" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:199:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:344:1: warning: "AND" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:200:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:345:1: warning: "OR" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:201:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:346:1: warning: "XOR" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:202:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:347:1: warning: "SETLE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:203:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:348:1: warning: "SETGE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:204:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:349:1: warning: "SETLT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:205:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:350:1: warning: "SETGT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:206:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:351:1: warning: "SETEQ" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:207:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:352:1: warning: "SETNE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:208:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:353:1: warning: "MALLOC" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:209:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:354:1: warning: "ALLOCA" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:210:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:355:1: warning: "FREE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:211:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:356:1: warning: "LOAD" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:212:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:357:1: warning: "STORE" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:213:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:358:1: warning: "GETELEMENTPTR" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:214:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:359:1: warning: "PHI_TOK" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:215:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:360:1: warning: "CAST" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:216:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:361:1: warning: "SELECT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:217:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:362:1: warning: "SHL" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:218:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:363:1: warning: "SHR" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:219:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:364:1: warning: "VAARG" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:220:1:
>> warning: this is the location of the previous definition
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.y:911:
>> error: expected unqualified-id before '<<' token
>> llvmAsmParser.tab.h:272: error: expected unqualified-id before '=='
>> token
>> llvmAsmParser.tab.h:273: error: expected declaration before '}' token
>> gmake[2]: ***
>> [/usr/home/wanderer/pkg/build/llvm/obj/lib/AsmParser/Debug/Lexer.o]
>> Error 1
>>
>> --X8----------------------------------------------
>>
>> Vladimir
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> [hidden email]         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
> -Chris
>

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l

Chris Lattner
On Wed, 11 Jan 2006, Jeff Cohen wrote:
> For VC++, I solved this by having bison/flex put the files into the obj
> directories.  I also have it unconditionally regenerate the files if
> bison/flex is available, and copy them from src if they are not.

That makes a *lot* of sense.

-Chris

> Chris Lattner wrote:
>
>> On Wed, 11 Jan 2006, Vladimir A. Merzliakov wrote:
>>
>>> I can't build LLVM CFE after this patchs
>>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html 
>>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html 
>>
>>
>> This is most likely because you have conflict markers in the generated
>> files in the lib/AsmParser directory.  Try removing llvmAsmParser.[cpp,h]
>> and Lexer.cpp and rebuilding.
>>
>> This is one really significant annoyance of having these files checked into
>> CVS.  Reid do you have any idea how we can solve this?
>>
>> -Chris
>>
>>> Build terminated with messages:
>>>
>>> --8X----------------------------------------------
>>> llvm[2]: Compiling Lexer.cpp for Debug build
>>> In file included from /Users/sabre/llvm/lib/AsmParser/Lexer.l:31:
>>> llvmAsmParser.tab.h:274:1: warning: "ESINT64VAL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:130:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:275:1: warning: "EUINT64VAL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:131:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:276:1: warning: "SINTVAL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:132:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:277:1: warning: "UINTVAL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:133:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:278:1: warning: "FPVAL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:134:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:279:1: warning: "VOID" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:135:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:280:1: warning: "BOOL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:136:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:281:1: warning: "SBYTE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:137:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:282:1: warning: "UBYTE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:138:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:283:1: warning: "SHORT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:139:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:284:1: warning: "USHORT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:140:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:285:1: warning: "INT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:141:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:286:1: warning: "UINT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:142:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:287:1: warning: "LONG" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:143:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:288:1: warning: "ULONG" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:144:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:289:1: warning: "FLOAT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:145:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:290:1: warning: "DOUBLE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:146:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:291:1: warning: "TYPE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:147:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:292:1: warning: "LABEL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:148:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:293:1: warning: "VAR_ID" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:149:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:152:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:297:1: warning: "ZEROINITIALIZER" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:153:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:298:1: warning: "TRUETOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:154:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:299:1: warning: "FALSETOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:155:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:300:1: warning: "BEGINTOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:156:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:301:1: warning: "ENDTOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:157:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:302:1: warning: "DECLARE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:158:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:303:1: warning: "GLOBAL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:159:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:304:1: warning: "CONSTANT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:160:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:305:1: warning: "SECTION" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:161:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:306:1: warning: "VOLATILE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:162:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:307:1: warning: "TO" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:163:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:308:1: warning: "DOTDOTDOT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:164:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:309:1: warning: "NULL_TOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:165:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:310:1: warning: "UNDEF" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:166:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:311:1: warning: "CONST" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:167:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:312:1: warning: "INTERNAL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:168:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:313:1: warning: "LINKONCE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:169:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:314:1: warning: "WEAK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:170:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:315:1: warning: "APPENDING" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:171:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:316:1: warning: "OPAQUE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:172:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:317:1: warning: "NOT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:173:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:318:1: warning: "EXTERNAL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:174:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:319:1: warning: "TARGET" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:175:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:320:1: warning: "TRIPLE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:176:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:321:1: warning: "ENDIAN" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:177:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:322:1: warning: "POINTERSIZE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:178:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:323:1: warning: "LITTLE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:179:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:324:1: warning: "BIG" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:180:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:325:1: warning: "ALIGN" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:181:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:326:1: warning: "DEPLIBS" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:182:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:327:1: warning: "CALL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:183:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:328:1: warning: "TAIL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:184:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:329:1: warning: "CC_TOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:185:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:330:1: warning: "CCC_TOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:186:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:331:1: warning: "FASTCC_TOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:187:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:332:1: warning: "COLDCC_TOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:188:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:333:1: warning: "RET" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:189:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:334:1: warning: "BR" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:190:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:335:1: warning: "SWITCH" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:191:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:336:1: warning: "INVOKE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:192:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:337:1: warning: "UNWIND" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:193:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:338:1: warning: "UNREACHABLE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:194:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:339:1: warning: "ADD" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:195:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:340:1: warning: "SUB" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:196:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:341:1: warning: "MUL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:197:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:342:1: warning: "DIV" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:198:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:343:1: warning: "REM" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:199:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:344:1: warning: "AND" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:200:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:345:1: warning: "OR" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:201:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:346:1: warning: "XOR" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:202:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:347:1: warning: "SETLE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:203:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:348:1: warning: "SETGE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:204:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:349:1: warning: "SETLT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:205:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:350:1: warning: "SETGT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:206:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:351:1: warning: "SETEQ" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:207:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:352:1: warning: "SETNE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:208:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:353:1: warning: "MALLOC" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:209:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:354:1: warning: "ALLOCA" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:210:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:355:1: warning: "FREE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:211:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:356:1: warning: "LOAD" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:212:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:357:1: warning: "STORE" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:213:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:358:1: warning: "GETELEMENTPTR" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:214:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:359:1: warning: "PHI_TOK" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:215:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:360:1: warning: "CAST" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:216:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:361:1: warning: "SELECT" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:217:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:362:1: warning: "SHL" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:218:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:363:1: warning: "SHR" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:219:1:
>>> warning: this is the location of the previous definition
>>> llvmAsmParser.tab.h:364:1: warning: "VAARG" redefined
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:220:1:
>>> warning: this is the location of the previous definition
>>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.y:911:
>>> error: expected unqualified-id before '<<' token
>>> llvmAsmParser.tab.h:272: error: expected unqualified-id before '==' token
>>> llvmAsmParser.tab.h:273: error: expected declaration before '}' token
>>> gmake[2]: ***
>>> [/usr/home/wanderer/pkg/build/llvm/obj/lib/AsmParser/Debug/Lexer.o] Error
>>> 1
>>>
>>> --X8----------------------------------------------
>>>
>>> Vladimir
>>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> [hidden email]         http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>>
>> -Chris
>>
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-Chris

--
http://nondot.org/sabre/
http://llvm.org/

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l

Reid Spencer
In reply to this post by Chris Lattner
No solutions come to mind. Conflicts are conflicts and must be resolved
manually. This situation should only occur if you change the .l/.y file
and then update the .h/.cpp files after someone else has changed
the .l/.y file and regenerated the .h and .cpp. That doesn't seem like a
high frequency scenario that we need to worry about. Not sure there's
much we could do even if it was.

Reid.

On Wed, 2006-01-11 at 10:06 -0600, Chris Lattner wrote:

> On Wed, 11 Jan 2006, Vladimir A. Merzliakov wrote:
> > I can't build LLVM CFE after this patchs
> > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html
> > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html
>
> This is most likely because you have conflict markers in the generated
> files in the lib/AsmParser directory.  Try removing llvmAsmParser.[cpp,h]
> and Lexer.cpp and rebuilding.
>
> This is one really significant annoyance of having these files checked
> into CVS.  Reid do you have any idea how we can solve this?
>
> -Chris
>
> > Build terminated with messages:
> >
> > --8X----------------------------------------------
> > llvm[2]: Compiling Lexer.cpp for Debug build
> > In file included from /Users/sabre/llvm/lib/AsmParser/Lexer.l:31:
> > llvmAsmParser.tab.h:274:1: warning: "ESINT64VAL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:130:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:275:1: warning: "EUINT64VAL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:131:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:276:1: warning: "SINTVAL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:132:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:277:1: warning: "UINTVAL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:133:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:278:1: warning: "FPVAL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:134:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:279:1: warning: "VOID" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:135:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:280:1: warning: "BOOL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:136:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:281:1: warning: "SBYTE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:137:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:282:1: warning: "UBYTE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:138:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:283:1: warning: "SHORT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:139:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:284:1: warning: "USHORT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:140:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:285:1: warning: "INT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:141:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:286:1: warning: "UINT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:142:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:287:1: warning: "LONG" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:143:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:288:1: warning: "ULONG" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:144:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:289:1: warning: "FLOAT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:145:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:290:1: warning: "DOUBLE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:146:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:291:1: warning: "TYPE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:147:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:292:1: warning: "LABEL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:148:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:293:1: warning: "VAR_ID" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:149:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:152:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:297:1: warning: "ZEROINITIALIZER" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:153:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:298:1: warning: "TRUETOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:154:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:299:1: warning: "FALSETOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:155:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:300:1: warning: "BEGINTOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:156:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:301:1: warning: "ENDTOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:157:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:302:1: warning: "DECLARE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:158:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:303:1: warning: "GLOBAL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:159:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:304:1: warning: "CONSTANT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:160:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:305:1: warning: "SECTION" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:161:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:306:1: warning: "VOLATILE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:162:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:307:1: warning: "TO" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:163:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:308:1: warning: "DOTDOTDOT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:164:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:309:1: warning: "NULL_TOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:165:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:310:1: warning: "UNDEF" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:166:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:311:1: warning: "CONST" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:167:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:312:1: warning: "INTERNAL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:168:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:313:1: warning: "LINKONCE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:169:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:314:1: warning: "WEAK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:170:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:315:1: warning: "APPENDING" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:171:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:316:1: warning: "OPAQUE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:172:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:317:1: warning: "NOT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:173:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:318:1: warning: "EXTERNAL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:174:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:319:1: warning: "TARGET" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:175:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:320:1: warning: "TRIPLE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:176:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:321:1: warning: "ENDIAN" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:177:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:322:1: warning: "POINTERSIZE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:178:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:323:1: warning: "LITTLE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:179:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:324:1: warning: "BIG" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:180:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:325:1: warning: "ALIGN" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:181:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:326:1: warning: "DEPLIBS" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:182:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:327:1: warning: "CALL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:183:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:328:1: warning: "TAIL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:184:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:329:1: warning: "CC_TOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:185:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:330:1: warning: "CCC_TOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:186:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:331:1: warning: "FASTCC_TOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:187:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:332:1: warning: "COLDCC_TOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:188:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:333:1: warning: "RET" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:189:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:334:1: warning: "BR" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:190:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:335:1: warning: "SWITCH" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:191:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:336:1: warning: "INVOKE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:192:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:337:1: warning: "UNWIND" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:193:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:338:1: warning: "UNREACHABLE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:194:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:339:1: warning: "ADD" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:195:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:340:1: warning: "SUB" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:196:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:341:1: warning: "MUL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:197:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:342:1: warning: "DIV" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:198:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:343:1: warning: "REM" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:199:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:344:1: warning: "AND" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:200:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:345:1: warning: "OR" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:201:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:346:1: warning: "XOR" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:202:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:347:1: warning: "SETLE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:203:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:348:1: warning: "SETGE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:204:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:349:1: warning: "SETLT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:205:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:350:1: warning: "SETGT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:206:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:351:1: warning: "SETEQ" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:207:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:352:1: warning: "SETNE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:208:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:353:1: warning: "MALLOC" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:209:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:354:1: warning: "ALLOCA" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:210:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:355:1: warning: "FREE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:211:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:356:1: warning: "LOAD" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:212:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:357:1: warning: "STORE" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:213:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:358:1: warning: "GETELEMENTPTR" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:214:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:359:1: warning: "PHI_TOK" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:215:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:360:1: warning: "CAST" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:216:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:361:1: warning: "SELECT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:217:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:362:1: warning: "SHL" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:218:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:363:1: warning: "SHR" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:219:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:364:1: warning: "VAARG" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:220:1:
> > warning: this is the location of the previous definition
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.y:911:
> > error: expected unqualified-id before '<<' token
> > llvmAsmParser.tab.h:272: error: expected unqualified-id before '==' token
> > llvmAsmParser.tab.h:273: error: expected declaration before '}' token
> > gmake[2]: ***
> > [/usr/home/wanderer/pkg/build/llvm/obj/lib/AsmParser/Debug/Lexer.o] Error 1
> >
> > --X8----------------------------------------------
> >
> > Vladimir
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > [hidden email]         http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
>
> -Chris
>

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l

Jeff Cohen
Unfortunately, this is not true.  When someone changes a .l/.y file and commits it, along with the generated files, and you pull all of them in doing an update, the timestamps are often such that bison/flex is run again anyway.  As the #line directives are often different, conflicts are generated even if the same version of bison/flex is used.  This has happened to me several times.

Reid Spencer wrote:
No solutions come to mind. Conflicts are conflicts and must be resolved
manually. This situation should only occur if you change the .l/.y file
and then update the .h/.cpp files after someone else has changed
the .l/.y file and regenerated the .h and .cpp. That doesn't seem like a
high frequency scenario that we need to worry about. Not sure there's
much we could do even if it was.

Reid.

On Wed, 2006-01-11 at 10:06 -0600, Chris Lattner wrote:
  
On Wed, 11 Jan 2006, Vladimir A. Merzliakov wrote:
    
I can't build LLVM CFE after this patchs
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html
      
This is most likely because you have conflict markers in the generated 
files in the lib/AsmParser directory.  Try removing llvmAsmParser.[cpp,h] 
and Lexer.cpp and rebuilding.

This is one really significant annoyance of having these files checked 
into CVS.  Reid do you have any idea how we can solve this?

-Chris

    
Build terminated with messages:

--8X----------------------------------------------
llvm[2]: Compiling Lexer.cpp for Debug build
In file included from /Users/sabre/llvm/lib/AsmParser/Lexer.l:31:
llvmAsmParser.tab.h:274:1: warning: "ESINT64VAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:130:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:275:1: warning: "EUINT64VAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:131:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:276:1: warning: "SINTVAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:132:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:277:1: warning: "UINTVAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:133:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:278:1: warning: "FPVAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:134:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:279:1: warning: "VOID" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:135:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:280:1: warning: "BOOL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:136:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:281:1: warning: "SBYTE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:137:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:282:1: warning: "UBYTE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:138:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:283:1: warning: "SHORT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:139:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:284:1: warning: "USHORT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:140:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:285:1: warning: "INT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:141:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:286:1: warning: "UINT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:142:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:287:1: warning: "LONG" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:143:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:288:1: warning: "ULONG" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:144:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:289:1: warning: "FLOAT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:145:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:290:1: warning: "DOUBLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:146:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:291:1: warning: "TYPE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:147:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:292:1: warning: "LABEL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:148:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:293:1: warning: "VAR_ID" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:149:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:152:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:297:1: warning: "ZEROINITIALIZER" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:153:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:298:1: warning: "TRUETOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:154:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:299:1: warning: "FALSETOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:155:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:300:1: warning: "BEGINTOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:156:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:301:1: warning: "ENDTOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:157:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:302:1: warning: "DECLARE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:158:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:303:1: warning: "GLOBAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:159:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:304:1: warning: "CONSTANT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:160:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:305:1: warning: "SECTION" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:161:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:306:1: warning: "VOLATILE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:162:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:307:1: warning: "TO" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:163:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:308:1: warning: "DOTDOTDOT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:164:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:309:1: warning: "NULL_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:165:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:310:1: warning: "UNDEF" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:166:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:311:1: warning: "CONST" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:167:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:312:1: warning: "INTERNAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:168:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:313:1: warning: "LINKONCE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:169:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:314:1: warning: "WEAK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:170:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:315:1: warning: "APPENDING" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:171:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:316:1: warning: "OPAQUE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:172:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:317:1: warning: "NOT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:173:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:318:1: warning: "EXTERNAL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:174:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:319:1: warning: "TARGET" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:175:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:320:1: warning: "TRIPLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:176:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:321:1: warning: "ENDIAN" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:177:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:322:1: warning: "POINTERSIZE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:178:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:323:1: warning: "LITTLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:179:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:324:1: warning: "BIG" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:180:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:325:1: warning: "ALIGN" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:181:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:326:1: warning: "DEPLIBS" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:182:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:327:1: warning: "CALL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:183:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:328:1: warning: "TAIL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:184:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:329:1: warning: "CC_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:185:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:330:1: warning: "CCC_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:186:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:331:1: warning: "FASTCC_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:187:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:332:1: warning: "COLDCC_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:188:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:333:1: warning: "RET" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:189:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:334:1: warning: "BR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:190:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:335:1: warning: "SWITCH" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:191:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:336:1: warning: "INVOKE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:192:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:337:1: warning: "UNWIND" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:193:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:338:1: warning: "UNREACHABLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:194:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:339:1: warning: "ADD" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:195:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:340:1: warning: "SUB" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:196:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:341:1: warning: "MUL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:197:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:342:1: warning: "DIV" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:198:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:343:1: warning: "REM" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:199:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:344:1: warning: "AND" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:200:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:345:1: warning: "OR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:201:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:346:1: warning: "XOR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:202:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:347:1: warning: "SETLE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:203:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:348:1: warning: "SETGE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:204:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:349:1: warning: "SETLT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:205:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:350:1: warning: "SETGT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:206:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:351:1: warning: "SETEQ" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:207:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:352:1: warning: "SETNE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:208:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:353:1: warning: "MALLOC" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:209:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:354:1: warning: "ALLOCA" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:210:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:355:1: warning: "FREE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:211:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:356:1: warning: "LOAD" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:212:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:357:1: warning: "STORE" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:213:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:358:1: warning: "GETELEMENTPTR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:214:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:359:1: warning: "PHI_TOK" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:215:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:360:1: warning: "CAST" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:216:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:361:1: warning: "SELECT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:217:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:362:1: warning: "SHL" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:218:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:363:1: warning: "SHR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:219:1: 
warning: this is the location of the previous definition
llvmAsmParser.tab.h:364:1: warning: "VAARG" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:220:1: 
warning: this is the location of the previous definition
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.y:911: 
error: expected unqualified-id before '<<' token
llvmAsmParser.tab.h:272: error: expected unqualified-id before '==' token
llvmAsmParser.tab.h:273: error: expected declaration before '}' token
gmake[2]: *** 
[/usr/home/wanderer/pkg/build/llvm/obj/lib/AsmParser/Debug/Lexer.o] Error 1

--X8----------------------------------------------

Vladimir

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

      
-Chris

    

_______________________________________________ LLVM Developers mailing list [hidden email] http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cppLexer.l

Vladimir A. Merzliakov
In reply to this post by Chris Lattner


> On Wed, 11 Jan 2006, Vladimir A. Merzliakov wrote:
>> I can't build LLVM CFE after this patchs
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html
>
> This is most likely because you have conflict markers in the generated
> files in the lib/AsmParser directory.  Try removing llvmAsmParser.[cpp,h]
> and Lexer.cpp and rebuilding.
This is fix problem.

Thanks!

Vladimir

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev