Issue information

Issue ID
#6615
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Sep 3, 2012 16:23
Last Post
Hercules Elf Bot
Sep 8, 2012 18:11
Confirmation
Yes (1)
No (1)

Hercules Elf Bot - Sep 3, 2012 16:23

Originally posted by [b]suza12[/b]
found these 3 when compiling, I suspected that it was my doing, since I previously made my rathena-10.sln compile using vs2012(but reverted back since there is virtually no difference or even error found by me in anyway with vs2010 VS vs2012, as far as an enthusiast like me is concerned), so I used a clean r16739 with vs2010 and it was still there. BTW, has sum1 tried vs2012 too? I was just curious so I tried, wasn't really boasting or anything by saying it.

line 4180 column 5 at map-server_sql

1 IntelliSense: argument of type "int" is incompatible with parameter of type "sc_type" d:\rathena_cleancopy\src\map\skill.c

line 4271 column 6
2 IntelliSense: argument of type "int" is incompatible with parameter of type "sc_type" d:\rathena_cleancopy\src\map\skill.c

​line 4516 column 10 at map-server_sql
3 IntelliSense: a value of type "int" cannot be assigned to an entity of type "sc_type" d:\rathena_cleancopy\src\map\skill.c


screenshot with vs2010 below

This post has been edited by suza12 on Sep 3, 2012 16:29

Hercules Elf Bot - Sep 3, 2012 16:28

Originally posted by [b]GreenBox[/b]
This is the intelissence trying to parse the file as a C++ source which implies strong typing, you can just ignore them or add explicit casts.

Hercules Elf Bot - Sep 3, 2012 16:31

Originally posted by [b]suza12[/b]
I see, thanks.