Previous Thread
Next Thread
Print Thread
Page 11 of 40 1 2 9 10 11 12 13 39 40
Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #85201 02/04/13 03:50 PM
Joined: Mar 2001
Posts: 16,335
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,335
LL/ULL are *not* supported in MSVC, they're a GCC extension (which Clang also supports).

Re: Can't compile latest MESS? READ THIS THREAD [Re: R. Belmont] #85202 02/04/13 04:31 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
r20728

Just for info ...

Quote:
Compiling src/emu/cpu/es5510/es5510.c...
src/emu/cpu/es5510/es5510.c:140: error: expected unqualified-id before '<<' token
src/emu/cpu/es5510/es5510.c:143: error: expected unqualified-id before '==' token

src/emu/cpu/es5510/es5510.c: In function 'INT64 SC64(INT64)':
src/emu/cpu/es5510/es5510.c:145: error: redefinition of 'INT64 SC64(INT64)'
src/emu/cpu/es5510/es5510.c:142: error: 'INT64 SC64(INT64)' previously defined here
src/emu/cpu/es5510/es5510.c: At global scope:
src/emu/cpu/es5510/es5510.c:146: error: expected unqualified-id before '>>' token
make: *** [obj/windows/emu/cpu/es5510/es5510.o] Error 1


René´s fix was working for me before.


Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #85203 02/04/13 04:34 PM
Joined: Mar 2001
Posts: 16,335
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,335
You hit a merge violation. Delete the files and re-get from SVN.

Re: Can't compile latest MESS? READ THIS THREAD [Re: R. Belmont] #85204 02/04/13 04:49 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted By R. Belmont
You hit a merge violation. Delete the files and re-get from SVN.


src\emu\cpu\ folder deleted and re-downloaded from SVN. It seems to work now.
Thanks to take care about my problem. smile

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #85218 02/05/13 01:06 AM
Joined: Feb 2004
Posts: 2,067
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,067
Huh? I definitely use ULL/LL suffixes with MSVC at work and had no problems.

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #87313 03/29/13 12:45 AM
Joined: Aug 2011
Posts: 499
M
MikeAbson Offline
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
I'm getting a compile error on the latest svn: r22134 using Windows 7. I'm also doing a clean compile here.

Compiling src/mess/machine/md_slot.c...
Compiling src/mess/machine/md_rom.c...
Compiling src/mess/machine/md_sk.c...
src/mess/machine/md_slot.c: In member function 'void base_md_cart_slot_device::f
ile_logging(UINT8*, UINT32, UINT32)':
src/mess/machine/md_slot.c:999:107: error: unknown conversion type character 'l'
in format [-Werror=format]
src/mess/machine/md_slot.c:999:107: error: too many arguments for format [-Werro
r=format-extra-args]
src/mess/machine/md_slot.c:1013:33: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
src/mess/machine/md_slot.c:1017:35: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
src/mess/machine/md_slot.c:1019:39: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
src/mess/machine/md_slot.c:1021:39: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
src/mess/machine/md_slot.c:1023:32: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
src/mess/machine/md_slot.c:1029:28: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
src/mess/machine/md_slot.c:1048:31: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
src/mess/machine/md_slot.c:1050:30: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
src/mess/machine/md_slot.c:1053:33: error: suggest parentheses around arithmetic
in operand of '^' [-Werror=parentheses]
Compiling src/mess/machine/md_eeprom.c...
cc1plus.exe: all warnings being treated as errors
make: *** [obj/windows64/mess/machine/md_slot.o] Error 1
make: *** Waiting for unfinished jobs....

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #87317 03/29/13 05:49 AM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
sorry, Apple GCC included with OSX 10.6 did not complain about those frown

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #87318 03/29/13 06:35 AM
Joined: Aug 2011
Posts: 499
M
MikeAbson Offline
Senior Member
Offline
Senior Member
M
Joined: Aug 2011
Posts: 499
No worries, it's all fixed now smile

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #87329 03/29/13 11:55 AM
Joined: Mar 2001
Posts: 16,335
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,335
In fairness to GCC < 4.7, the "suggest parens" warning was completely spurious in that case because it would give the right results going in either order.

The %llx not being portable thing is important to know, however smile

Re: Can't compile latest MESS? READ THIS THREAD [Re: Just Desserts] #87330 03/29/13 11:57 AM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
I was pretty sure there was a more correct way to print UINT64, but I forgot
Now I took a note for next time I need it

Page 11 of 40 1 2 9 10 11 12 13 39 40

Who's Online Now
0 registered members (), 82 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,692
Posts114,250
Members4,865
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3